2 Chronicles 35:20

20 After all this, when Josiah had prepared the temple, Necho king of Egypt came up to fight against Carchemish by Euphrates: and Josiah went out against him.

2 Chronicles 35:20 In-Context

18 And there was no passover like to that kept in Israel from the days of Samuel the prophet; neither did all the kings of Israel keep such a passover as Josiah kept , and the priests, and the Levites, and all Judah and Israel that were present , and the inhabitants of Jerusalem.
19 In the eighteenth year of the reign of Josiah was this passover kept .
20 After all this, when Josiah had prepared the temple, Necho king of Egypt came up to fight against Carchemish by Euphrates: and Josiah went out against him.
21 But he sent ambassadors to him, saying , What have I to do with thee, thou king of Judah? I come not against thee this day, but against the house wherewith I have war: for God commanded me to make haste : forbear thee from meddling with God, who is with me, that he destroy thee not.
22 Nevertheless Josiah would not turn his face from him, but disguised himself, that he might fight with him, and hearkened not unto the words of Necho from the mouth of God, and came to fight in the valley of Megiddo.

Footnotes 1

The King James Version is in the public domain.