Jeremiah 32:2-3 NIV

2 The army of the king of Babylon was then besieging1 Jerusalem, and Jeremiah the prophet was confined2 in the courtyard of the guard3 in the royal palace of Judah.

References for Jeremiah 32:2

3 Now Zedekiah king of Judah had imprisoned him there, saying, "Why do you prophesy4 as you do? You say, 'This is what the LORD says: I am about to hand this city over to the king of Babylon, and he will capture5 it.

References for Jeremiah 32:3