Jeremiah 32:2-3 ESV

2 At that time the army of the king of Babylon was besieging Jerusalem, and Jeremiah the prophet 1was shut up in 2the court of the guard that was in the palace of the king of Judah.

References for Jeremiah 32:2

      3 For Zedekiah king of Judah had imprisoned him, saying, "Why do you prophesy and say, 'Thus says the LORD: 3Behold, I am giving this city into the hand of the king of Babylon, and he shall capture it;

      References for Jeremiah 32:3