Read this passage and open each verse for the full verse feed and commentary tools.
28Now the rest of the acts of Josiah, and all that he did, aren`t they written in the book of the chronicles of the kings of Judah? 29In 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 [Pharaoh-necoh] killed him at Megiddo, when he had seen him.
2 Kings 23:28-29 (WEB)