2 Kings 23:29

29 aIn his days bPharaoh Neco king of Egypt went up to the king of Assyria to the river Euphrates. King Josiah went to meet him, and Pharaoh Neco killed him at cMegiddo, as soon as he saw him.

2 Chronicles 35:20-24

Josiah Killed in Battle

20 dAfter all this, when Josiah had prepared the temple, Neco king of Egypt went up to fight at eCarchemish on the Euphrates, and Josiah went out to meet him. 21But he sent envoys to him, saying, “What have we to do with each other, king of Judah? I am not coming against you this day, but against the house with which I am at war. And God has commanded me to hurry. Cease opposing God, who is with me, lest he destroy you.” 22Nevertheless, Josiah did not turn away from him, but fdisguised himself in order to fight with him. He did not listen to the words of Neco from the mouth of God, but came to fight in the plain of gMegiddo. 23And the archers shot King Josiah. And the king said to his servants, h“Take me away, for I am badly wounded.” 24So his servants took him out of the chariot and carried him in his second chariot and brought him to Jerusalem. And he died and was buried in the tombs of his fathers. iAll Judah and Jerusalem mourned for Josiah.
Copyright information for ESV