2 Chronicles 25:20-21

20But Amaziah would not listen, for it was of God, in order that he might give them into the hand of their enemies, abecause 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.
Copyright information for ESV