Jeremiah 38:26-28 New English Translation (NET)

26. If they do this, tell them, ‘I was pleading with the king not to send me back to die in the dungeon of Jonathan’s house.’”

27. All the officials did indeed come and question Jeremiah. He told them exactly what the king had instructed him to say. They stopped questioning him any further because no one had actually heard their conversation.

28. So Jeremiah remained confined in the courtyard of the guardhouse until the day Jerusalem was captured.The following events occurred when Jerusalem was captured.

Jeremiah 38