Aslam

Surah Al-Anfal — 8:53
ذَٰلِكَ بِأَنَّ ٱللَّهَ لَمۡ يَكُ مُغَيِّرٗا نِّعۡمَةً أَنۡعَمَهَا عَلَىٰ قَوۡمٍ حَتَّىٰ يُغَيِّرُواْ مَا بِأَنفُسِهِمۡ وَأَنَّ ٱللَّهَ سَمِيعٌ عَلِيمٞ
This is because Allah would never discontinue His favour to a people until they discontinue their faith. Surely Allah is All-Hearing, All-Knowing.

Commentary

That severe punishment is because when Allah favours a people, He does not take it away from them until they change themselves from their pure state of faith, righteousness and gratitude to a bad state of disbelief in Allah, sin and ingratitude – Allah hears the statements of His servants and knows about their actions; nothing is hidden from Him.

Read Tafsir Ibn Kathir