Surah Al-Furqan, ayah 70

25:70

إِلَّا مَن تَابَ وَءَامَنَ وَعَمِلَ عَمَلٗا صَٰلِحٗا فَأُوْلَٰٓئِكَ يُبَدِّلُ ٱللَّهُ سَيِّـَٔاتِهِمۡ حَسَنَٰتٖۗ وَكَانَ ٱللَّهُ غَفُورٗا رَّحِيمٗا ٧٠

Illā man tāba wa āmana wa'amila 'amalan sālihan fa ulā'ika yubaddilullāhu sayyi'ātihim hasanātin wakānallāhu ghafūrar rahīmā

Except for those who repent, believe and do righteous work. For them Allāh will replace their evil deeds with good. And ever is Allāh Forgiving and Merciful.