This is a doublet stating the same idea in two ways to reinforce the concept. Alternate translation: "do wrong things" (See: [[rc://en/ta/man/translate/figs-doublet]])
This can be made explicit. Alternate translation: "the Lord will punish the one who transgressed and will defend the one who was wronged" (See: [[rc://en/ta/man/translate/figs-explicit]])