As Saff Ayah 5
وَإِذْ قَالَ مُوسَىٰ لِقَوْمِهِۦ يَـٰقَوْمِ لِمَ تُؤْذُونَنِى وَقَد تَّعْلَمُونَ أَنِّى رَسُولُ ٱللَّهِ إِلَيْكُمْۖ فَلَمَّا زَاغُوٓاْ أَزَاغَ ٱللَّهُ قُلُوبَهُمْۚ وَٱللَّهُ لَا يَهْدِى ٱلْقَوْمَ ٱلْفَـٰسِقِينَ ٥
?Remember, O Prophet,? when Moses said to his people, “O my people! Why do you hurt me when you already know I am Allah’s messenger to you?” So when they ?persistently? deviated, Allah caused their hearts to deviate. For Allah does not guide the rebellious people.