These verses go on to say why God's anger is upon Judah’s kings. So this part of Jeremiah’s prophesy is all addressed to the royal household of Judah, and the three different kings, ending up with Zedekiah, and speaks of how God will judge them.
It looked hopeless and it was intended to look hopeless. The nation was under judgment; no more earthly kings would come from David. And yet the promise had not failed, and God would find a way – the way he always intended – of bringing the most wonderful fulfilment out of this seemingly hopeless situation. The faithful remnant should not abandon the promises of God under any circumstances. When all seems to fail, God is about to do something which no one would have predicted, but which remained hidden until he was pleased to reveal it. Trust in God is never unfounded; it will never be disappointed. In the darkest hour, God brings to light his purposes. To counter the darkness of the hour, Jeremiah is about to give us another prophecy which tells of the blessing of the New Testament age.