Al Anfal Ayah 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.