2 Kings 14:10-12

14:10 You thoroughly 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?” 14:11 But Amaziah would not heed the warning, so King Jehoash of Israel attacked. He and King Amaziah of Judah met face to face in Beth Shemesh of Judah. 14:12 Judah was defeated by Israel, and each man ran back home.