2 Kings 14:11 (ESV)

11 But Amaziah would not listen. So Jehoash king of Israel went up, and he and Amaziah king of Judah faced one another in battle at Beth-shemesh, which belongs to Judah.

By human standards, the reason for Amaziah not listening is his haughtiness, his feelings of being insulted, and so on. But 2 Chronicles 25:20 makes clear that in the end the directing by the Lord is what is decisive. He uses people, their emotions, and ambitions to execute his council. The kings and their armies meet each other in battle. We see that Amaziah has wandered off from being a messianic ruler, as he was in the beginning. Now he is more like a worldly ruler who sends his soldiers to die, to save his honour. A pointless and quite unnecessary war which cost many of his servants their lives, does not fit with a ruler who rules over the covenant people on behalf of God.