And whoever commits a sin only earns it against himself. And Allah is ever Knowing and Wise.
The Saheeh International Quran Translation
وَمَن يَكْسِبْ إِثْمًا فَإِنَّمَا يَكْسِبُهُۥ عَلَىٰ نَفْسِهِۦ وَكَانَ ٱللَّهُ عَلِيمًا حَكِيمًاAnd whoever commits a sin only earns it against himself. And Allah is ever Knowing and Wise.