1 Esdras 1:23-33

23 And the deeds of Josiah were upright in the sight of the Lord, for his heart was full of godliness.
24 In ancient times the events of his reign have been recorded—concerning those who sinned and acted wickedly toward the Lord beyond any other people or kingdom, and how they grieved the Lord [a] deeply, so that the words of the Lord fell upon Israel.
25 After all these acts of Josiah, it happened that Pharaoh, king of Egypt, went to make war at Carchemish on the Euphrates, and Josiah went out against him.
26 And the king of Egypt sent word to him saying, "What have we to do with each other, O king of Judea?
27 I was not sent against you by the Lord God, for my war is at the Euphrates. And now the Lord is with me! The Lord is with me, urging me on! Stand aside, and do not oppose the Lord."
28 Josiah, however, did not turn back to his chariot, but tried to fight with him, and did not heed the words of the prophet Jeremiah from the mouth of the Lord.
29 He joined battle with him in the plain of Megiddo, and the commanders came down against King Josiah.
30 The king said to his servants, "Take me away from the battle, for I am very weak." And immediately his servants took him out of the line of battle.
31 He got into his second chariot; and after he was brought back to Jerusalem he died, and was buried in the tomb of his ancestors.
32 In all Judea they mourned for Josiah. The prophet Jeremiah lamented for Josiah, and the principal men, with the women, [b] have made lamentation for him to this day; it was ordained that this should always be done throughout the whole nation of Israel.
33 These things are written in the book of the histories of the kings of Judea; and every one of the acts of Josiah, and his splendor, and his understanding of the law of the Lord, and the things that he had done before, and these that are now told, are recorded in the book of the kings of Israel and Judah.

Footnotes 2

New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.