2 Kings 23:29-30

29 In his days Pharaoh Neco king of Egypt went up to the king of Assyria to the river Euphrates. King Josiah went to meet him; but when Pharaoh Neco met him at Megiddo, he killed him.
30 His servants carried him dead in a chariot from Megiddo, brought him to Jerusalem, and buried him in his own tomb. The people of the land took Jehoahaz son of Josiah, anointed him, and made him king in place of his father.

2 Kings 23:29-30 Meaning and Commentary

INTRODUCTION TO 2 KINGS 23

This chapter treats of Josiah's reading the book of the law, and of him and the people renewing the covenant with God, 2Ki 23:1-3, and of his removing idols and idolatry in every shape, and witchcraft, out of the land, which he did in the sincerity of his heart, 2Ki 23:4-25, yet the wrath of God was still determined upon the land, 2Ki 23:26-28 and Josiah was taken away by an untimely death, 2Ki 23:29,30 and was succeeded by two sons of his, one after another, whose reigns were wicked, 2Ki 23:31-37.

2 Kings 23:29-30 In-Context

27 The Lord said, "I will remove Judah also out of my sight, as I have removed Israel; and I will reject this city that I have chosen, Jerusalem, and the house of which I said, My name shall be there."
28 Now the rest of the acts of Josiah, and all that he did, are they not written in the Book of the Annals of the Kings of Judah?
29 In his days Pharaoh Neco king of Egypt went up to the king of Assyria to the river Euphrates. King Josiah went to meet him; but when Pharaoh Neco met him at Megiddo, he killed him.
30 His servants carried him dead in a chariot from Megiddo, brought him to Jerusalem, and buried him in his own tomb. The people of the land took Jehoahaz son of Josiah, anointed him, and made him king in place of his father.
31 Jehoahaz was twenty-three years old when he began to reign; he reigned three months in Jerusalem. His mother's name was Hamutal daughter of Jeremiah of Libnah.
32 He did what was evil in the sight of the Lord, just as his ancestors had done.