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 may remove from them the worst of what they did and reward them their due for the best of what they used to do.