The sight of Yahweh represents Yahweh's judgment or evaluation. Alternate translation: "what was evil in Yahweh's judgment" or "what Yahweh considers to be evil" (See: [[rc://en/ta/man/translate/figs-metaphor]])
Here stopping his sin is spoken of as if he turned away from them. This can also be stated in positive form. Alternate translation: "Jehoahaz did not stop doing the sins of Jeroboam" or "Jehoahaz continued to do the same sins as Jeroboam" (See: [[rc://en/ta/man/translate/figs-metaphor]])