2 Kings 8:16-19
Jehoram of Judah
16-19In the fifth year of the reign of Joram son of Ahab king of Israel, Jehoram son of Jehoshaphat king of Judah became king. He was thirty-two years old when he began his rule, and was king for eight years in Jerusalem. He copied the way of life of the kings of Israel, marrying into the Ahab family and continuing the Ahab line of sin—from God's point of view, an evil man living an evil life. But despite that, because of his servant David, God was not ready to destroy Judah. He had, after all, promised to keep a lamp burning through David's descendants.
20-21During Jehoram's reign, Edom revolted against Judah's rule and set up their own king. Jehoram responded by taking his army of chariots to Zair.
Edom surrounded him, but in the middle of the night he and his charioteers broke through the lines and hit Edom hard. But his infantry deserted him.