Then took they Jeremiah, and cast him into the dungeon of Malchiah the son of Hammelech, that was in the court of the prison: and they let down Jeremiah with the cords. And in the dungeon there was no water, but mire, so Jeremiah sunk in the mire.
Now when Ebed-melech the Ethiopian, one of the eunuchs which was in the king's house, heard that they had put Jeremiah in the dungeon, the king then sitting in the gate of Benjamin; Ebed-melech went forth out of the king's house, and spake to the king, saying, My lord the king, these men have done evil in all that they have done to Jeremiah the prophet whom they have cast into the dungeon; and he is likely to die of hunger in the place where he is, for there is no more bread in the city.
Then the king commanded Ebed-melech the Ethiopian, saying, Take from hence thirty men with thee, and take up Jeremiah the prophet out of the dungeon, before he dies. So Ebed-melech took the men with him, and went into the house of the king under the treasury, and took thence old cast clouts and old rotten rags, and let them down by cords into the dungeon to Jeremiah.
And Ebed-melech the Ethiopian said to Jeremiah, Put now these old cast clouts and rotten rags under thine armholes under the cords. And Jeremiah did so.
So they drew up Jeremiah with the cords and took him up out of the dungeon...
Now the word of the LORD came unto Jeremiah, while he was shut up in the court of the prison, saying, Go speak to Ebed-melech the Ethiopian, saying, Thus saith the LORD of hosts, the God of Israel; Behold, I will bring my words upon this city for evil, and not for good, and they shall be accomplished in that day before thee. But I will deliver thee in that day, saith the LORD; and thou shalt not be given into the hand of the men of whom thou art afraid. For I will surely deliver thee ... because thou hast put thy trust in me, saith the LORD.