[He did] this because God would never change a favour He had conferred on a people unless they changed what was within themselves. God is all hearing, all knowing.
"Because Allah will never change the grace which He hath bestowed on a people until they change what is in their (own) souls: and verily Allah is He Who heareth and knoweth (all things)."