2 Kings 8:27

27 He walked in the way of the house of Ahab and did what was evil in the Lord's sight like the house of Ahab, for he was a son-in-law to Ahab's family.

2 Kings 8:27 Meaning and Commentary

2 Kings 8:27

And he walked in the way of the house of Ahab, and did evil in
the sight of the Lord, as [did] the house of Ahab
Worshipping the calves, and Baal also:

for he was the son in law of the house of Ahab;
he was the son of Jehoram, who was son-in-law to Ahab, having married his daughter, which accounts for his being guilty of the same idolatrous practices.

2 Kings 8:27 In-Context

25 In the twelfth year of Israel's King Joram son of Ahab, Ahaziah son of Jehoram became king of Judah.
26 Ahaziah was 22 years old when he became king; he reigned one year in Jerusalem. His mother's name was Athaliah, granddaughter of Israel's King Omri.
27 He walked in the way of the house of Ahab and did what was evil in the Lord's sight like the house of Ahab, for he was a son-in-law to Ahab's family.
28 Ahaziah went with Joram son of Ahab to fight against Hazael king of Aram in Ramoth-gilead, and the Arameans wounded Joram.
29 So King Joram returned to Jezreel to recover from the wounds that the Arameans had inflicted on him in Ramoth-gilead when he fought against Aram's King Hazael. Then Judah's King Ahaziah son of Jehoram went down to Jezreel to visit Joram son of Ahab since Joram was ill.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.