After Josiah did all this for the Temple, Neco king of Egypt led an army to attack Carchemish, a town on the Euphrates River. And Josiah marched out to fight against Neco.
But Neco sent messengers to Josiah, saying, "King Josiah, there should not be war between us. I did not come to fight you, but my enemies. God told me to hurry, and he is on my side. So don't fight God, or he will destroy you."
But Josiah did not go away. He wore different clothes so no one would know who he was. Refusing to listen to what Neco said at God's command, Josiah went to fight on the plain of Megiddo.
In the battle King Josiah was shot by archers. He told his servants, "Take me away because I am badly wounded."
So they took him out of his chariot and put him in another chariot and carried him to Jerusalem. There he died and was buried in the graves where his ancestors were buried. All the people of Judah and Jerusalem were very sad because he was dead.