and remember when moosa said to his people o my people! why do you trouble me whereas you know that i am allahs noble messenger towards you? so when they deviated allah deviated their hearts and allah does not guide the sinning people.
وإذ قال موسى لقومه يا قوم لم تؤذونني وقد تعلمون أني رسول الله إليكم فلما زاغوا أزاغ الله قلوبهم والله لا يهدي القوم الفاسقين