2 Chronicles 21:9

21:9 Jehoram crossed over to Zair with his officers and all his chariots. The Edomites, who had surrounded him, attacked at night and defeated him and his chariot officers.

2 Chronicles 25:19-20

25:19 You defeated Edom and it has gone to your head. Gloat over your success, but stay in your palace. Why bring calamity on yourself? Why bring down yourself and Judah along with you?”

25:20 But Amaziah did not heed the warning, for God wanted to hand them over to Joash because they followed the gods of Edom.