After all this that Josiah had prepared for the temple, Neco king of Egypt marched up to fight at Carchemish by the Euphrates, and Josiah went out to confront him.