The person thinks that because he was righteous, Yahweh will not punish him, even if he sins. The abstract noun "righteousness" can be stated as the adjective "right." Alternate translation: "if he depends on the right things he has done" (See: [[rc://en/ta/man/jit/figs-abstractnouns]])
The abstract noun "wickedness" can be stated as the adjective "wicked" Alternate translation: "because of the wicked things he has done" (See: [[rc://en/ta/man/jit/figs-abstractnouns]])