Jeremiah 38:11-13 NIV

11 So Ebed-Melek took the men with him and went to a room under the treasury in the palace. He took some old rags and worn-out clothes from there and let them down with ropes to Jeremiah in the cistern.

References for Jeremiah 38:11

12 Ebed-Melek the Cushite said to Jeremiah, “Put these old rags and worn-out clothes under your arms to pad the ropes.” Jeremiah did so,
13 and they pulled him up with the ropes and lifted him out of the cistern. And Jeremiah remained in the courtyard of the guard.

References for Jeremiah 38:13