8 In the days of Jehoram, Edom rebelled against the hand of Judah and appointed their own king.
9 So Jehoram crossed into Edom with his officers and all his chariots. When the Edomites surrounded him and his chariot commanders, he rose up and attackeda by night.
10 So to this day Edom has been in rebellion against the hand of Judah. Likewise, Libnah rebelled against his hand at the same time, because Jehoram had forsaken the LORD, the God of his fathers.
11 Jehoram had also built high places on the hills of Judah; he had caused the people of Jerusalem to prostitute themselves and had led Judah astray.
Berean Standard Bible.