2 Chronicles 25:19-22
English Standard Version
20But Amaziah would not listen, for it was of God, in order that he might give them into the hand of their enemies, because they had sought the gods of Edom.
21So Joash king of Israel went up, and he and Amaziah king of Judah faced one another in battle at Beth-shemesh, which belongs to Judah.
22And Judah was defeated by Israel, and every man fled to his home.