that is so because allah will never change a grace which he has bestowed on a people until they change what is in themselves. and verily allah is allhearer allknower.
ذلك بأن الله لم يك مغيرا نعمة أنعمها على قوم حتى يغيروا ما بأنفسهم وأن الله سميع عليم