اَفَمَنْ زُيِّنَ لَہٗ سُوْۗءُ عَمَلِہٖ فَرَاٰہُ حَسَـنًا۰ۭ فَاِنَّ اللہَ يُضِلُّ مَنْ يَّشَاۗءُ وَيَہْدِيْ مَنْ يَّشَاۗءُ۰ۡۖ فَلَا تَذْہَبْ نَفْسُكَ عَلَيْہِمْ حَسَرٰتٍ۰ۭ اِنَّ اللہَ عَلِـيْمٌۢ بِمَا يَصْنَعُوْنَ۸
Afaman zuyyina lahu sooo AAamalihi faraahu hasanan fainna Allaha yudillu man yashao wayahdee man yashao fala tathhab nafsuka AAalayhim hasaratin inna Allaha AAaleemun bima yasnaAAoona
Can he, the evil of whose deed is made to look attractive to him so that he considers it good, (be like him who is guided)? God leads whosoever He please astray and guides whosoever He will. So do not waste away your self with grief for them. God is indeed cognisant of things they do.