So Jeremiah was put in a cistern, which was like a dungeon, where he remained a long time.
Later King Zedekiah sent for him and questioned Jeremiah secretly in the palace: "Is there a word from the LORD?" "There is," Jeremiah replied. "You are going to be handed over to the king of Babylon."
Then Jeremiah asked King Zedekiah, "What have I done wrong to you or your attendants or this people that you should throw me into prison?
Where are your prophets now who prophesied that the king of Babylon wouldn't attack you and this land?
Now, my master and king, I beg you, don't send me back to the house of Jonathan the scribe, or I'll die there."
So King Zedekiah gave orders that Jeremiah be held in the prison quarters and that he receive a loaf of bread daily from the street vendors—until all the bread in the city was gone. So Jeremiah remained in the prison quarters.
References for Jeremiah 37:21