Az-Zumar - 39:35

لِيُكَفِّرَ اللَّهُ عَنْهُمْ أَسْوَأَ الَّذِي عَمِلُوا وَيَجْزِيَهُمْ أَجْرَهُم بِأَحْسَنِ الَّذِي كَانُوا يَعْمَلُونَ
[39:35]
So that Allah will do away with the worst of what they did and give them their reward for the best of what they do.
So that Allah will turn off from them (even) the worst in their deeds and give them their reward according to the best of what they have done.
That Allah will remit from them the worst of what they did, and will pay them for reward the best they used to do.