Here "sight" represents God's thoughts or judgment. Alternate translation: "He did things that Yahweh considers to be evil" (See: [[rc://en/ta/man/translate/figs-metaphor]])
To stop sinning is spoken of as if he left behind the sins. This can be stated in positive form. Alternate translation: "Jehoash did not stop committing the same sins as Jeroboam" or "Jehoash kept committing the same sins as Jeroboam" (See: [[rc://en/ta/man/translate/figs-metaphor]])
To sin is spoken of as if he was walking along a sinful path. Alternate translation: "but Jehoash continued to do these same sins" (See: [[rc://en/ta/man/translate/figs-metaphor]])