He walked in the way of the kings of Israel, just as the house of Ahab had done, for he had married a daughter of Ahab, and he did what was evil in the eyes of Yahweh.
In context
16In the fifth year of Joram son of Ahab, king of Israel — Jehoshaphat then being king of Judah — Jehoram son of Jehoshaphat began to reign as king of Judah. 17He was thirty-two years old when he began to reign, and he reigned eight years in Jerusalem. 18He walked in the way of the kings of Israel, just as the house of Ahab had done, for he had married a daughter of Ahab, and he did what was evil in the eyes of Yahweh. 19Yet Yahweh was not willing to destroy Judah, for the sake of his servant David, since he had promised to give David and his descendants a lamp forever. 20In his days Edom rebelled against Judah’s control and set up its own king.