The LORD spoke his word to Jeremiah when King Nebuchadnezzar of Babylon, his entire army, and all the kingdoms and people that he ruled were attacking Jerusalem and all its cities. He said,
"This is what the LORD God of Israel says: Go to King Zedekiah of Judah, and tell him, 'The LORD says: I'm going to hand this city over to the king of Babylon, and he will burn it down.
You will not escape from him. You will certainly be captured and handed over to him. You will see the king of Babylon with your own eyes, and he will talk to you face to face. Then you will go to Babylon.
"'Listen to the word of the LORD, King Zedekiah of Judah. This is what the LORD says about you: You will not die in war.
You will die peacefully. People will burn [funeral] fires for you as they did for your ancestors, the kings who lived before you. They will say, "Oh, master," as they mourn for you. I have spoken my word, declares the LORD.'"
The prophet Jeremiah told all these things to King Zedekiah of Judah in Jerusalem.
He did this when the army of the king of Babylon was attacking Jerusalem and the cities of Lachish and Azekah. These were the only fortified cities of Judah that were left.