2 Chronicles 35:20-23

AKJV(i) 20 After all this, when Josiah had prepared the temple, Necho king of Egypt came up to fight against Charchemish by Euphrates: and Josiah went out against him. 21 But he sent ambassadors to him, saying, What have I to do with you, you king of Judah? I come not against you this day, but against the house with which I have war: for God commanded me to make haste: forbear you from meddling with God, who is with me, that he destroy you not. 22 Nevertheless Josiah would not turn his face from him, but disguised himself, that he might fight with him, and listened not to the words of Necho from the mouth of God, and came to fight in the valley of Megiddo. 23 And the archers shot at king Josiah; and the king said to his servants, Have me away; for I am sore wounded.