Dr. Mustafa Khattab, the Clear Quran - Surah Az-Zumar, ayah 35

Translation of Surah Az-Zumar, ayah 35 (39:35)

لِيُكَفِّرَ ٱللَّهُ عَنۡهُمۡ أَسۡوَأَ ٱلَّذِي عَمِلُواْ وَيَجۡزِيَهُمۡ أَجۡرَهُم بِأَحۡسَنِ ٱلَّذِي كَانُواْ يَعۡمَلُونَ ٣٥
As such, Allah will absolve them of ˹even˺ the worst of what they did and reward them according to the best of what they used to do.