After all this, when Josiah had prepared the temple, Neco king of Egypt came up to fight against Carchemish by Euphrates: and Josiah went out against him.
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.
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 Neco from the mouth of God, and came to fight in the valley of Megiddo.
And the archers shot at king Josiah; and the king said to his servants, Have me away; for I am sore wounded.
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 sepulchres of his fathers. And all Judah and Jerusalem mourned for Josiah.
And Jeremiah lamented for Josiah: and all the singing men and the singing women spake of Josiah in their lamentations to this day, and made them an ordinance in Israel: and, behold, they are written in the lamentations.
Now the rest of the acts of Josiah, and his goodness, according to that which was written in the law of the LORD,
And his deeds, first and last, behold, they are written in the book of the kings of Israel and Judah.