Zaalika bi annal laaha lam yaku mughaiyiran ni matan an'amahaa 'alaa qawmin hattaa yughaiyiroo maa bianfusihim wa annallaaha samee un 'Aleem
That is because Allah would not change a favor which He had bestowed upon a people until they change what is within themselves. And indeed, Allah is Hearing and Knowing.
1 Mufti Taqi Usmani
All this is because Allah is not the one who may change a favour He has conferred on a people unless they change their own condition, and that Allah is All-Hearing, All-Knowing.