and call to mind when moses said to his people o my people why do you torment me when you know well that i am allahs messenger to you? so when they deviated allah made their hearts deviant. allah does not direct the evildoers to the right way.
وإذ قال موسى لقومه يا قوم لم تؤذونني وقد تعلمون أني رسول الله إليكم فلما زاغوا أزاغ الله قلوبهم والله لا يهدي القوم الفاسقين