2 Chronicles 35:20-27

20 After all this, and after Yoshiyahu had restored the house, N'kho king of Egypt went up to attack Kark'mish by the Euphrates River. King Yoshiyahu went out to oppose him;
21 but N'kho sent envoys to him with this message: "Do I have a conflict with you, king of Y'hudah? No, I am not coming today to attack you, but to attack the dynasty with whom I am at war. God has ordered to speed me along; so don't meddle with God, who is with me; so that he won't destroy you."
22 Nevertheless, Yoshiyahu was determined to go after him. He disguised himself in order to fight against him and wouldn't listen to what N'kho said, which was from the mouth of God. Then he went to fight in the Megiddo Valley.
23 There archers shot King Yoshiyahu. The king said to his servants, "Take me away, because I'm badly wounded."
24 So his servants took him out of the chariot, transferred him to his second chariot and brought him to Yerushalayim. But he died, and he was buried in the tombs of his ancestors. All Y'hudah and Yerushalayim mourned Yoshiyahu.
25 Yirmeyahu composed a lament for Yoshiyahu; and all the men and women singers have sung of Yoshiyahu in their laments till this day. They made singing them a law in Isra'el, and they are recorded in the Laments.
26 Other activities of Yoshiyahu and all his good deeds in keeping with what is written in the Torah of ADONAI,
27 also his accomplishments from beginning to end, are recorded in the Annals of the Kings of Isra'el and Y'hudah.
Complete Jewish Bible Copyright 1998 by David H. Stern. Published by Jewish New Testament Publications, Inc. All rights reserved. Used by permission.