Al-Furqaan • EN-TAFSIR-IBN-ABBAS
﴿ إِلَّا مَن تَابَ وَءَامَنَ وَعَمِلَ عَمَلًۭا صَٰلِحًۭا فَأُو۟لَٰٓئِكَ يُبَدِّلُ ٱللَّهُ سَيِّـَٔاتِهِمْ حَسَنَٰتٍۢ ۗ وَكَانَ ٱللَّهُ غَفُورًۭا رَّحِيمًۭا ﴾
“Excepted, however, shall be they who repent and attain to faith and do righteous deeds: for it is they whose [erstwhile] bad deeds God will transform into good ones - seeing that God is indeed much-forgiving, a dispenser of grace,”
Save him who repenteth) from his disbelief (and believeth) in Allah (and doth righteous work) sincerely after he accepts faith; (as for such, Allah will change their evil deeds to good deeds) Allah will change them from the state of disbelief to the state of faith, from disobedience to obedience, from the worship of idols to His worship, and from evil to goodness. (Allah is ever Forgiving) He forgives whoever repents, (Merciful) He shows mercy towards whoever dies in a state of repentance.