جَزَآءًۢ بِمَا كَانُوا۟ يَعْمَلُونَ
As reward for what they used to do.
As a reward for the good actions they used to do in the world.