Shephatiah (son of Mattan), Gedaliah (son of Pashhur), Jucal (son of Shelemiah), and Pashhur (son of Malchiah) heard that Jeremiah was speaking to all the people.
They heard Jeremiah say, "This is what the LORD says: Those who stay in this city will die in wars, famines, or plagues. But those who surrender to the Babylonians will live. They will escape with their lives.
"This is what the LORD says: This city will certainly be handed over to the army of the king of Babylon, and it will capture the city."
Then the officials said to the king, "Have this man put to death. He discourages the soldiers who are left in this city and all the people by telling them such things. This man is not trying to help these people; he's trying to hurt them."
King Zedekiah answered, "He's in your hands. I won't do anything to stop you."
So they took Jeremiah and threw him into the cistern of Malchiah, the king's son. It was in the courtyard of the prison. They used ropes to lower Jeremiah into the cistern. There was no water in the cistern, only mud, and Jeremiah sank in the mud.
But an official in the royal palace, Ebed Melech from Sudan, heard that they had put Jeremiah in the cistern. The king happened to be sitting at Benjamin Gate.
Ebed Melech left the royal palace and spoke to the king at Benjamin Gate.
"Your Majesty, everything that these men have done to the prophet Jeremiah is wrong. They have thrown him into the cistern, where he'll starve to death, because there's no more bread in the city."
Then the king gave Ebed Melech from Sudan this command: "Take 30 men from here, and lift the prophet Jeremiah out of the cistern before he dies."
So Ebed Melech took the men with him and went to the royal palace, to a room under the treasury. He took rags and torn clothes from there and lowered them with ropes to Jeremiah in the cistern.
Ebed Melech from Sudan said to Jeremiah, "Put these rags and torn clothes under your arms to protect you from the ropes." Jeremiah did.
They used the ropes to pull Jeremiah up and lift him out of the cistern. Then Jeremiah stayed in the courtyard of the prison.
King Zedekiah sent for the prophet Jeremiah and brought him to the third entrance in the LORD's temple. "I'm going to ask you a question," the king said to Jeremiah. "Don't hide anything from me."
Jeremiah answered Zedekiah, "If I answer you, you'll kill me. If I give you advice, you won't listen to me."
So King Zedekiah secretly swore an oath to Jeremiah, "The LORD gave us life. As the LORD lives, I will not kill you or hand you over to these men who want to kill you."
Jeremiah said to Zedekiah, "This is what the LORD God of Armies, the God of Israel, says: If you surrender to the officers of the king of Babylon, you will live, and this city will not be burned. You and your household will live.
But if you don't surrender to the officers of the king of Babylon, this city will be handed over to the Babylonians. They will burn it down, and you will not escape from them."
King Zedekiah answered Jeremiah, "I'm afraid of the Jews who have deserted to the Babylonians. The Babylonians may hand me over to them, and they will torture me."
Jeremiah said, "You will not be handed over to them. Obey the LORD by doing what I'm telling you. Then everything will go well for you, and you will live.
But if you refuse to surrender, this is what the LORD has shown me.
All the women who are left in the palace of Judah's king will be brought out to the officers of the king of Babylon. These women will say: 'Your trusted friends have misled you and used you. Your feet are stuck in the mud, and your friends have deserted you.'
"All your wives and children will be brought to the Babylonians. You will not escape from them. You will be captured by the king of Babylon, and this city will be burned down."
Zedekiah said to Jeremiah, "Don't let anyone know about this conversation, or you will die.
The officials may find out that I've been talking with you. They may come to you and say, 'Tell us what you said to the king and what the king said to you. Don't hide anything from us, or we'll kill you.'
If they come to you, say to them, 'I asked the king not to send me back to Jonathan's house to die there.'"
All the officials came to Jeremiah and questioned him. He told them exactly what the king had told him to say. So they stopped questioning him, because they hadn't heard his conversation with the king.
Jeremiah stayed in the courtyard of the prison until the day Jerusalem was captured.