As-Saff • BN-TAFSEER-IBN-E-KASEER
﴿ وَإِذْ قَالَ مُوسَىٰ لِقَوْمِهِۦ يَٰقَوْمِ لِمَ تُؤْذُونَنِى وَقَد تَّعْلَمُونَ أَنِّى رَسُولُ ٱللَّهِ إِلَيْكُمْ ۖ فَلَمَّا زَاغُوٓا۟ أَزَاغَ ٱللَّهُ قُلُوبَهُمْ ۚ وَٱللَّهُ لَا يَهْدِى ٱلْقَوْمَ ٱلْفَٰسِقِينَ ﴾
“Now when Moses spoke to his people, [it was this same truth that he had in mind:] "O my people! Why do you cause me grief, the while you know that I am an apostle of God sent unto you?" And so, when they swerved from the right way, God let their hearts swerve from the truth: for God does not bestow His guidance upon iniquitous folk.”
Please check ayah 61:6 for complete tafsir.