After all this that Josiah had prepared for the temple, Neco king of Egypt marched up to fight at Carchemish by the Euphrates, and Josiah went out to confront him.
References for 2 Chronicles 35:20
But Neco sent messengers to him, saying, "What is [the issue] between you and me, king of Judah? I have not come against you today but to the dynasty I am fighting. God told me to hurry. Stop opposing God who is with me; don't make Him destroy you!"
References for 2 Chronicles 35:21
But Josiah did not turn away from him; instead, in order to fight with him he disguised himself. He did not listen to Neco's words from the mouth of God, but went to the Valley of Megiddo to fight.
References for 2 Chronicles 35:22
The archers shot King Josiah, and he said to his servants, "Take me away, for I am severely wounded!"
References for 2 Chronicles 35:23
So his servants took him out of the war chariot, carried him in his second chariot, and brought him to Jerusalem. Then he died, and they buried him in the tomb of his fathers. All Judah and Jerusalem mourned for Josiah.