Weep ye not for the dead - Josiah, dead in consequence of the wound he had received at Megiddo, in a battle with Pharaoh-necho, king of Egypt; but he died in peace with God.
But weep sore for him that goeth away - Namely, Jehoahaz, the son of Josiah, called below Shallum, whom Pharaoh-necho had carried captive into Egypt from which it was prophesied he should never return, 2 Kings 23:30-34. He was called Shallum before he ascended the throne, and Jehoahaz afterwards; so his brother Eliakim changed his name to Jehoiakim, and Mattaniah to Zedekiah.
In the two foregoing prophecies Jeremiah stated the general principle on which depend the rise and downfall of kings and nations. He now adds for Zedekiah‘s warning the history of three thrones which were not established.
The first is that of Shallum the successor of Josiah, who probably took the name of Jehoahaz on his accession (see the marginal references notes).
Jeremiah 22:10
The dead - i. e., Josiah 2 Chronicles 35:25.
That goeth away - Rather, that is gone away.