Surah Fatir Verse 8 - English Translation by Dr Kamal Omar
Surah Fatirأَفَمَن زُيِّنَ لَهُۥ سُوٓءُ عَمَلِهِۦ فَرَءَاهُ حَسَنٗاۖ فَإِنَّ ٱللَّهَ يُضِلُّ مَن يَشَآءُ وَيَهۡدِي مَن يَشَآءُۖ فَلَا تَذۡهَبۡ نَفۡسُكَ عَلَيۡهِمۡ حَسَرَٰتٍۚ إِنَّ ٱللَّهَ عَلِيمُۢ بِمَا يَصۡنَعُونَ
Is he then, to whom the evil of his deeds is made fair-seeming, and he regarded it as good (at par to one who is rightly guided)? So definitely, Allah allows to go astray whom He thinks proper, and guides whom He thinks proper. So your ‘self’ may not cripple herself (remaining) in sorrows (and regrets) over them. Certainly, Allah is All-Knower of what they do and invent