2 Chronicles 25:19-24
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.
23And Joash king of Israel captured Amaziah king of Judah, the son of Joash, son of Ahaziah, at Beth-shemesh, and brought him to Jerusalem and broke down the wall of Jerusalem for 400 cubits, from the Ephraim Gate to the Corner Gate.
24And he seized all the gold and silver, and all the vessels that were found in the house of God, in the care of Obed-edom. He seized also the treasuries of the king 's house, also hostages, and he returned to Samaria.