Sure Al-Furqaan

25:70

إِلَّا مَن تَابَ وَءَامَنَ وَعَمِلَ عَمَلًۭا صَٰلِحًۭا فَأُو۟لَٰٓئِكَ يُبَدِّلُ ٱللَّهُ سَيِّـَٔاتِهِمْ حَسَنَٰتٍۢ ۗ وَكَانَ ٱللَّهُ غَفُورًۭا رَّحِيمًۭا

außer demjenigen, der bereut, glaubt und rechtschaffene Werke tut; jenen wird Allah ihre bösen Taten gegen gute eintauschen; und Allah ist stets Allvergebend und Barmherzig.

Tafsir 25:70

But those who repent to Allah and do good deeds that indicate the sincerity of their repentance, then Allah will change the evil deeds of such people into good ones. Allah is Forgiving of the sins of those of His servants who repent and He is Merciful towards them.