19 All these things happened in the eighteenth year of Josiah's rule in Judah.
20 Some time later, King Neco of Egypt led his army to the city of Carchemish on the River Euphrates. And Josiah led his troops north to meet the Egyptians in battle.
21 Neco sent the following message to Josiah:I'm not attacking you, king of Judah! We're not even at war. But God has told me to attack my enemy quickly. God is on my side, so if you try to stop me, he will punish you.
22 But Josiah ignored Neco's warning, even though it came from God! Instead, he disguised himself and marched into battle against Neco in the valley near Megiddo.
23 During the battle an Egyptian soldier shot Josiah with an arrow. Josiah told his servants, “Get me out of here! I've been hit.”
24 They carried Josiah out of his chariot, then put him in the other chariot he had there and took him back to Jerusalem, where he soon died. He was buried beside his ancestors, and everyone in Judah and Jerusalem mourned his death.
25 Jeremiah the prophet wrote a funeral song in honour of Josiah. And since then, anyone in Judah who mourns the death of Josiah sings that song. It is included in the collection of funeral songs.