Yet the Lord would not destroy Judah, for the sake of his servant David, since he had promised to give a lamp to him and to his descendants forever.
In his days Edom revolted against the rule of Judah, and set up a king of their own.
Then Joram crossed over to Zair with all his chariots. He set out by night and attacked the Edomites and their chariot commanders who had surrounded him; but his army fled home.
References for 2 Kings 8:21
So Edom has been in revolt against the rule of Judah to this day. Libnah also revolted at the same time.
Now the rest of the acts of Joram, and all that he did, are they not written in the Book of the Annals of the Kings of Judah?
So Joram slept with his ancestors, and was buried with them in the city of David; his son Ahaziah succeeded him.
In the twelfth year of King Joram son of Ahab of Israel, Ahaziah son of King Jehoram of Judah began to reign.
Ahaziah was twenty-two years old when he began to reign; he reigned one year in Jerusalem. His mother's name was Athaliah, a granddaughter of King Omri of Israel.
He also walked in the way of the house of Ahab, doing what was evil in the sight of the Lord, as the house of Ahab had done, for he was son-in-law to the house of Ahab.
He went with Joram son of Ahab to wage war against King Hazael of Aram at Ramoth-gilead, where the Arameans wounded Joram.
King Joram returned to be healed in Jezreel of the wounds that the Arameans had inflicted on him at Ramah, when he fought against King Hazael of Aram. King Ahaziah son of Jehoram of Judah went down to see Joram son of Ahab in Jezreel, because he was wounded.