Jeremiah 38:9-10 NIV

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,1 where he will starve to death when there is no longer any bread2 in the city."

References for Jeremiah 38:9

10 Then the king commanded Ebed-Melech the Cushite, "Take thirty men from here with you and lift Jeremiah the prophet out of the cistern before he dies."