And he threatens a punishment: therefore, thus says the Lord; the end of the royal succession: there shall be no one left of him who may sit upon the throne of David, and has power any more in Judah. And the discarding of his body: and his body will be cast out—the burial of an ass. But you have been cast forth from your tomb, like a useless branch, polluted, and wrapped up among those who were slain with the sword, and have gone down to the bottom of the pit, like a rotten corpse (Isa 14:19).
Source: Commentary on Jeremiah