20 After all this, when Josiah had set the temple in order, Neco king of Egypt came up to make war at Carchemish on the Euphrates, and Josiah went out to engage him. 21 But Neco sent messengers to him, saying, “What have we to do with each other, O King of Judah? I am not coming against you today but against the house with which I am at war, and God has ordered me to hurry. Stop for your own sake from interfering with God who is with me, so that He will not destroy you.”
22 However, Josiah would not turn away from him, but disguised himself in order to make war with him; nor did he listen to the words of Neco from the mouth of God, but came to make war on the plain of Megiddo. 23 The archers shot King Josiah, and the king said to his servants, “Take me away, for I am badly wounded.” 24 So his servants took him out of the chariot and carried him in the second chariot which he had, and brought him to Jerusalem where he died and was buried in the tombs of his fathers. All Judah and Jerusalem mourned for Josiah. 25 Then Jeremiah chanted a lament for Josiah. And all the male and female singers speak about Josiah in their lamentations to this day. And they made them an ordinance in Israel; behold, they are also written in the Lamentations.
26 Now the rest of the acts of Josiah and his deeds of devotion as written in the law of the Lord, 27 and his acts, first to last, behold, they are written in the Book of the Kings of Israel and Judah.