Jeremiah 38:28

28 Jeremiah remained in the prison quarters until Jerusalem was captured.