Ash-Shuraa 42:40
وَجَزَٰٓؤُا۟ سَيِّئَةٍ سَيِّئَةٌ مِّثْلُهَا ۖ فَمَنْ عَفَا وَأَصْلَحَ فَأَجْرُهُۥ عَلَى ٱللَّهِ ۚ إِنَّهُۥ لَا يُحِبُّ ٱلظَّـٰلِمِينَ
Wajazao sayyi-atin sayyi-atun mithluhafaman AAafa waaslaha faajruhu AAalaAllahi innahu la yuhibbu aththalimeen
And the retribution for an evil act is an evil one like it, but whoever pardons and makes reconciliation - his reward is [due] from Allāh. Indeed, He does not like wrongdoers.
The recompense of evil is evil like it. Then the one who forgives and opts for compromise has his reward undertaken by Allah. Surely, He does not like the unjust.