أَفَمَن زُيِّنَ لَهُ سوءُ عَمَلِهِ فَرَآهُ حَسَنًا ۖ فَإِنَّ اللَّهَ يُضِلُّ مَن يَشاءُ وَيَهدي مَن يَشاءُ ۖ فَلا تَذهَب نَفسُكَ عَلَيهِم حَسَراتٍ ۚ إِنَّ اللَّهَ عَليمٌ بِما يَصنَعونَ
Consider the one whose evil deeds are made appealing to him, so he sees them as good. God misguides whom He wills and guides whom He wills. So, don’t waste yourself over them in regret; God is fully aware of what they do.