Jeremiah 38:28

Amplified Bible (AMP)
So Jeremiah remained in the court of the guardhouse until the day that Jerusalem was captured [by the Chaldeans of Babylon].

Read Jeremiah 38:28 in other translations