Suuratul Anfaal, Verses 52 – 53.
كَدَأْبِ ءَالِ فِرْعَوْنَ ۙ وَٱلَّذِينَ مِن قَبْلِهِمْ ۚ كَفَرُوا۟ بِـَٔايَـٰتِ ٱللَّـهِ فَأَخَذَهُمُ ٱللَّـهُ بِذُنُوبِهِمْ ۗ إِنَّ ٱللَّـهَ قَوِىٌّ شَدِيدُ ٱلْعِقَابِ ﴿٥٢
ذَٰلِكَ بِأَنَّ ٱللَّـهَ لَمْ يَكُ مُغَيِّرًا نِّعْمَةً أَنْعَمَهَا عَلَىٰ قَوْمٍ حَتَّىٰ يُغَيِّرُوا۟ مَا بِأَنفُسِهِمْ ۙ وَأَنَّ ٱللَّـهَ سَمِيعٌ عَلِيمٌ﴿٥٣
52. Similar to the behaviour of the people of Fir’aun (Pharaoh), and of those before them; they rejected the Ayat (proofs, verses, etc.) of Allah, so Allah punished them for their sins. Verily, Allah is All-Strong, Severe in punishment.
53. That is so because Allah will never change a grace which He has bestowed on a people until they change what is in their ownselves. And verily, Allah is All-Hearer, All-Knower.