At that time, the army of the Babylonian king had surrounded Jerusalem, and the prophet Jeremiah was confined to the prison quarters in the palace of Judah’s king.