Surah Al-Ankaboot

29:7

وَٱلَّذِينَ ءَامَنُوا۟ وَعَمِلُوا۟ ٱلصَّٰلِحَٰتِ لَنُكَفِّرَنَّ عَنْهُمْ سَيِّـَٔاتِهِمْ وَلَنَجْزِيَنَّهُمْ أَحْسَنَ ٱلَّذِى كَانُوا۟ يَعْمَلُونَ

And those who believe and do righteous deeds - We will surely remove from them their misdeeds and will surely reward them according to the best of what they used to do.

Tafsir 29:7

Those who brought faith and were patient on our testing them, and who did good actions, I shall wipe out their sins due to the good actions they did, and I shall reward them in the afterlife with the best of what they used to do in this world.