2 "This is what the Lord says: 'Whoever stays in this city will die by the sword, famine or plague, but whoever goes over to the Babylonians[1] will live. They will escape with their lives; they will live.' 3 And this is what the Lord says: 'This city will certainly be given into the hands of the army of the king of Babylon, who will capture it.' " 4 Then the officials said to the king, "This man should be put to death. He is discouraging the soldiers who are left in this city, as well as all the people, by the things he is saying to them. This man is not seeking the good of these people but their ruin." 5 "He is in your hands," King Zedekiah answered. "The king can do nothing to oppose you." 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,[2] an official[3] 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."

Matthew Henry's Commentary on Jeremiah 38:2-9

Commentary on Jeremiah 38:1-13

(Read Jeremiah 38:1-13)

Jeremiah went on in his plain preaching. The princes went on in their malice. It is common for wicked people to look upon God's faithful ministers as enemies, because they show what enemies the wicked are to themselves while impenitent. Jeremiah was put into a dungeon. Many of God's faithful witnesses have been privately made away in prisons. Ebed-melech was an Ethiopian; yet he spoke to the king faithfully, These men have done ill in all they have done to Jeremiah. See how God can raise up friends for his people in distress. Orders were given for the prophet's release, and Ebed-melech saw him drawn up. Let this encourage us to appear boldly for God. Special notice is taken of his tenderness for Jeremiah. What do we behold in the different characters then, but the same we behold in the different characters now, that the Lord's children are conformed to his example, and the children of Satan to their master?