Judah was routed by Israel, and every man fled to his home.
Jehoash king of Israel captured Amaziah king of Judah, the son of Joash, the son of Ahaziah, at Beth Shemesh. Then Jehoash brought him to Jerusalem and broke down the wall of Jerusalem from the Ephraim Gate to the Corner Gate—a section about four hundred cubits long.
References for 2 Chronicles 25:23
He took all the gold and silver and all the articles found in the temple of God that had been in the care of Obed-Edom, together with the palace treasures and the hostages, and returned to Samaria.
References for 2 Chronicles 25:24
Amaziah son of Joash king of Judah lived for fifteen years after the death of Jehoash son of Jehoahaz king of Israel.
As for the other events of Amaziah’s reign, from beginning to end, are they not written in the book of the kings of Judah and Israel?
From the time that Amaziah turned away from following the LORD, they conspired against him in Jerusalem and he fled to Lachish, but they sent men after him to Lachish and killed him there.
References for 2 Chronicles 25:27
He was brought back by horse and was buried with his ancestors in the City of Judah.
References for 2 Chronicles 25:28