The sight of Yahweh represents Yahweh's judgment or evaluation. AT: "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. AT: "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]])