Then the king commanded Ebed-melech the Ethiopian, "Take three men with you from here, and pull the prophet Jeremiah up from the cistern before he dies."
References for Jeremiah 38:10
So Ebed-melech took the men with him and went to the house of the king, to a wardrobe of the storehouse, and took from there old rags and worn-out clothes, which he let down to Jeremiah in the cistern by ropes.
References for Jeremiah 38:11
Then Ebed-melech the Ethiopian said to Jeremiah, "Just put the rags and clothes between your armpits and the ropes." Jeremiah did so.
References for Jeremiah 38:12
Then they drew Jeremiah up by the ropes and pulled him out of the cistern. And Jeremiah remained in the court of the guard.
King Zedekiah sent for the prophet Jeremiah and received him at the third entrance of the temple of the Lord. The king said to Jeremiah, "I have something to ask you; do not hide anything from me."
Jeremiah said to Zedekiah, "If I tell you, you will put me to death, will you not? And if I give you advice, you will not listen to me."
So King Zedekiah swore an oath in secret to Jeremiah, "As the Lord lives, who gave us our lives, I will not put you to death or hand you over to these men who seek your life."
Then Jeremiah said to Zedekiah, "Thus says the Lord, the God of hosts, the God of Israel, If you will only surrender to the officials of the king of Babylon, then your life shall be spared, and this city shall not be burned with fire, and you and your house shall live.
But if you do not surrender to the officials of the king of Babylon, then this city shall be handed over to the Chaldeans, and they shall burn it with fire, and you yourself shall not escape from their hand."
King Zedekiah said to Jeremiah, "I am afraid of the Judeans who have deserted to the Chaldeans, for I might be handed over to them and they would abuse me."
Jeremiah said, "That will not happen. Just obey the voice of the Lord in what I say to you, and it shall go well with you, and your life shall be spared.