6 So they took Jeremiah and put him into the cistern of Malkijah, the king’s son, which was in the courtyard of the guard. They lowered Jeremiah by ropes into the cistern; it had no water in it, only mud, and Jeremiah sank down into the mud. 7 But Ebed-Melek, a Cushite,[c] an official[d] in the royal palace, heard that they had put Jeremiah into the cistern. While the king was sitting in the Benjamin Gate, 8 Ebed-Melek went out of the palace and said to him, 9 “My lord the king, these men have acted wickedly in all they have done to Jeremiah the prophet. They have thrown him into a cistern, where he will starve to death when there is no longer any bread in the city.” 10 Then the king commanded Ebed-Melek the Cushite, “Take thirty men from here with you and lift Jeremiah the prophet out of the cistern before he dies.”
Jeremiah 38:10
ESV - 10 Then the king commanded Ebed-melech the Ethiopian, "Take thirty men with you from here, and lift Jeremiah the prophet out of the cistern before he dies.
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.