At the end of Josiah’s reign, Pharaoh Neco king of Egypt marched up to help the king of Assyria at the Euphrates River. King Josiah went out to confront him, but Neco faced him and killed him at Megiddo.
Jewish Publication Society of America Version (JPS1917) - 2 Kings 23:29 >In his days Pharaoh-necoh king of Egypt went up against the king of Assyria to the river Euphrates; and king Josiah went against him; and he slew him at Megiddo, when he had seen him.