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