After all this, when Josiah had prepared the temple, Neco king of Egypt went up to fight at Carchemish on the Euphrates, and Josiah went out to meet him.