40:85
فَلَمْ يَكُ يَنفَعُهُمْ إِيمَـٰنُهُمْ لَمَّا رَأَوْا۟ بَأْسَنَا ۖ سُنَّتَ ٱللَّهِ ٱلَّتِى قَدْ خَلَتْ فِى عِبَادِهِۦ ۖ وَخَسِرَ هُنَالِكَ ٱلْكَـٰفِرُونَ
falam yaku yanfaʿuhum īmānuhum lammā ra-aw basanā sunnata l-lahi allatī qad khalat fī ʿibādihi wakhasira hunālika l-kāfirūna
but believing after seeing Our punishment did not benefit them at all- this has always been God’s way of dealing with His creatures- there and then the disbelievers were lost.
Then their Faith (in Islâmic Monotheism) could not avail them when they saw Our punishment. (Like) this has been the way of Allâh in dealing with His slaves. And there the disbelievers lost utterly (when Our Torment covered them).