وَمَنۡ يَّكۡسِبۡ اِثۡمًا فَاِنَّمَا يَكۡسِبُهٗ عَلٰى نَفۡسِهٖؕ وَكَانَ اللّٰهُ عَلِيۡمًا حَكِيۡمًا(النساء :111)
Waman yaksib ithman fainnama yaksibuhu 'ala nafsihi wakana Allahu 'aleeman hakeeman
And whoever commits a sin only earns it against himself. And Allah is ever Knowing and Wise.
Complete Indexing of Quran Topics
We have indexed and found 1 verse about or related to (including the word(s)) "Sin, Whoever earns sin, he earns it only against himself".
For your information, the verse as described above: