At that time the army of the king of Babylonia was attacking Jerusalem, and I was locked up in the courtyard of the royal palace.