Jeremiah 38:28

ISV(i) 28 Jeremiah remained in the courtyard of the guard until the day Jerusalem was captured.