Quran Ghafir 40:84
فَلَمَّا رَأَوۡاْ بَأۡسَنَا قَالُوٓاْ ءَامَنَّا بِٱللَّهِ وَحۡدَهُۥ وَكَفَرۡنَا بِمَا كُنَّا بِهِۦ مُشۡرِكِينَ
Translation
And when they saw Our punishment, they said, "We believe in Allāh alone and disbelieve in that which we used to associate with Him."