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