Surah An-Nisa 4:111
وَمَن يَكْسِبْ إِثْمًا فَإِنَّمَا يَكْسِبُهُۥ عَلَىٰ نَفْسِهِۦ ۚ وَكَانَ ٱللَّهُ عَلِيمًا حَكِيمًا
And whoever earns [i.e., commits] a sin only earns it against himself. And Allāh is ever Knowing and Wise.
Translation: Saheeh International
Tafsir
And whoever commits a sin commits it against himself only since the evil consequences fall on him harming no one else; and God is ever Knower Wise in His actions.
Excerpt from Tafsir al-Jalalayn, commentary on 4:111, via Quran.com. The reader has the full commentary and 9 more tafsirs.