2 Kings 8:17-22

17He was athirty-two years old when he became king, and he reigned eight years in Jerusalem. 18And he walked in the way of the kings of Israel, as the house of Ahab had done, for bthe daughter of Ahab was his wife. And he did what was evil in the sight of the Lord. 19Yet the Lord was not willing to destroy Judah, for the sake of David his servant, csince he promised to give da lamp to him and to his sons forever.

20In his days Edom revolted from the rule of Judah and set up ea king of their own. 21Then Joram
 Joram is an alternate spelling of Jehoram (the son of Jehoshaphat) as in verse 16; also verses 23, 24
passed over to Zair with all his chariots and rose by night, and he and his chariot commanders struck the Edomites who had surrounded him, but his army gfled home.
22 hSo Edom revolted from the rule of Judah to this day. Then iLibnah revolted at the same time.
Copyright information for ESV