“who will repay each person according to his works.” The teaching that on Judgment Day people will get what they deserve, good or bad, based on what they have done in their life is taught many times in Scripture (e.g., Job. 34:11; Ps. 62:12; Prov. 24:12; Jer. 17:10; 32:19; Ezek. 33:20; Matt. 16:27; Rom. 2:6; 1 Cor. 3:8; see commentary on Psalm 62:12).
[For more on rewards in the future and people getting what they deserve, see commentary on 2 Cor. 5:10, “good or evil.”]