The word that came to Jeremiah from the Lord, when King Nebuchadrezzar of Babylon and all his army and all the kingdoms of the earth and all the peoples under his dominion were fighting against Jerusalem and all its cities:
Thus says the Lord, the God of Israel: Go and speak to King Zedekiah of Judah and say to him: Thus says the Lord: I am going to give this city into the hand of the king of Babylon, and he shall burn it with fire.
And you yourself shall not escape from his hand, but shall surely be captured and handed over to him; you shall see the king of Babylon eye to eye and speak with him face to face; and you shall go to Babylon.
Yet hear the word of the Lord, O King Zedekiah of Judah! Thus says the Lord concerning you: You shall not die by the sword;
you shall die in peace. And as spices were burned for your ancestors, the earlier kings who preceded you, so they shall burn spices for you and lament for you, saying, "Alas, lord!" For I have spoken the word, says the Lord.
References for Jeremiah 34:5
Then the prophet Jeremiah spoke all these words to Zedekiah king of Judah, in Jerusalem,
when the army of the king of Babylon was fighting against Jerusalem and against all the cities of Judah that were left, Lachish and Azekah; for these were the only fortified cities of Judah that remained.
The word that came to Jeremiah from the Lord, after King Zedekiah had made a covenant with all the people in Jerusalem to make a proclamation of liberty to them—
that all should set free their Hebrew slaves, male and female, so that no one should hold another Judean in slavery.
And they obeyed, all the officials and all the people who had entered into the covenant that all would set free their slaves, male or female, so that they would not be enslaved again; they obeyed and set them free.
But afterward they turned around and took back the male and female slaves they had set free, and brought them again into subjection as slaves.