that is because allah never changeth the grace he hath bestowed on any people until they first change that which is in their hearts and because allah is hearer knower.
ذلك بأن الله لم يك مغيرا نعمة أنعمها على قوم حتى يغيروا ما بأنفسهم وأن الله سميع عليم