Surah Ghafir

40:84

فَلَمَّا رَأَوْا۟ بَأْسَنَا قَالُوٓا۟ ءَامَنَّا بِٱللَّهِ وَحْدَهُۥ وَكَفَرْنَا بِمَا كُنَّا بِهِۦ مُشْرِكِينَ

And when they saw Our punishment, they said," We believe in Allah alone and disbelieve in that which we used to associate with Him."

Tafsir 40:84

Then, when they saw My punishment they began confessing, at a time when no confession would benefit them, saying, “We bring faith upon Allah alone, and reject whatever partners and idols we would worship instead of Him.”