So they took Jeremiah and threw him into the cistern of Malchiah, the king's son, which was in the court of the guard, letting Jeremiah down by ropes. Now there was no water in the cistern, but only mud, and Jeremiah sank in the mud.
Ebed-melech the Ethiopian, a eunuch in the king's house, heard that they had put Jeremiah into the cistern. The king happened to be sitting at the Benjamin Gate,
References for Jeremiah 38:7
So Ebed-melech left the king's house and spoke to the king,
"My lord king, these men have acted wickedly in all they did to the prophet Jeremiah by throwing him into the cistern to die there of hunger, for there is no bread left in the city."
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.