Here "walking" refers his behavior or the way in which he lived. Alternate translation: "Ahaziah lived the same way as the others in" (See: [[rc://en/ta/man/translate/figs-idiom]])
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]])
This explains Ahaziah's family relationship to Ahab. Ahaziah's father was married to Ahab's daughter. The meaning of this can be made clear. Alternate translation: "the son of Ahab's son-in-law" or "a grandson of King Ahab" (See: [[rc://en/ta/man/translate/figs-explicit]])