Jeremiah 38:6-13; Jeremiah 38:28
Then they took Jeremiah and cast him into the cistern of Malchijah the king's son, which was in the court of the guardhouse; and they let Jeremiah down with ropes. Now in the cistern there was no water but only mud, and Jeremiah sank into the mud.
But Ebed-melech the Ethiopian, a eunuch, while he was in the king's palace, heard that they had put Jeremiah into the cistern. Now the king was sitting in the Gate of Benjamin;
and Ebed-melech went out from the king's palace and spoke to the king, saying,
"My lord the king, these men have acted wickedly in all that they have done to Jeremiah the prophet whom they have cast into the cistern; and he will die right where he is because of the famine, for there is no more bread in the city."
Then the king commanded Ebed-melech the Ethiopian, saying, "Take thirty men from here under your authority and bring up Jeremiah the prophet from the cistern before he dies."
So Ebed-melech took the men under his authority and went into the king's palace to a place beneath the storeroom and took from there worn-out clothes and worn-out rags and let them down by ropes into the cistern to Jeremiah.
Then Ebed-melech the Ethiopian said to Jeremiah, "Now put these worn-out clothes and rags under your armpits under the ropes "; and Jeremiah did so.
So they pulled Jeremiah up with the ropes and lifted him out of the cistern, and Jeremiah stayed in the court of the guardhouse.
So Jeremiah stayed in the court of the guardhouse until the day that Jerusalem was captured.