2 Chronicles 35:20-24

20 After all this, when Josiah had prepared the temple, Necho king of Egypt came up to fight against Carchemish by the Euphrates; and Josiah went out against him.
21 But he sent ambassadors to him, saying, "What have I to do with thee, thou king of Judah? I come not against thee this day, but against the house wherewith I have war; for God commanded me to make haste. Forbear thee from meddling with God, who is with me, that He destroy thee not."
22 Nevertheless Josiah would not turn his face from him, but disguised himself, that he might fight with him, and hearkened not unto the words of Necho from the mouth of God, and came to fight in the Valley of Megiddo.
23 And the archers shot at King Josiah; and the king said to his servants, "Take me away, for I am sorely wounded."
24 His servants therefore took him out of that chariot and put him in the second chariot that he had, and they brought him to Jerusalem; and he died, and was buried in one of the sepulchers of his fathers. And all Judah and Jerusalem mourned for Josiah.
Third Millennium Bible (TMB), New Authorized Version, Copyright 1998 by Deuel Enterprises, Inc., Gary, SD 57237. All rights reserved.