That Allah may remove from them the worst of what they did and reward them their due for the best of what they used to do.
The Saheeh International Quran Translation
لِيُكَفِّرَ ٱللَّهُ عَنْهُمْ أَسْوَأَ ٱلَّذِى عَمِلُوا۟ وَيَجْزِيَهُمْ أَجْرَهُم بِأَحْسَنِ ٱلَّذِى كَانُوا۟ يَعْمَلُونَThat Allah may remove from them the worst of what they did and reward them their due for the best of what they used to do.