Jeremiah 32:2-5
32:2 Now at that time, the armies of the king of Babylon were besieging Jerusalem. The prophet Jeremiah was confined in the courtyard of the guardhouse attached to the royal palace of Judah.
32:3 For King Zedekiah had confined Jeremiah there after he had reproved him for prophesying as he did. He had asked Jeremiah, “Why do you keep prophesying these things? Why do you keep saying that the Lord says, ‘I will hand this city over to the king of Babylon? I will let him capture it.
32:4 King Zedekiah of Judah will not escape from the Babylonians. He will certainly be handed over to the king of Babylon. He must answer personally to the king of Babylon and confront him face to face.
32:5 Zedekiah will be carried off to Babylon and will remain there until I have fully dealt with him. I, the Lord, affirm it! Even if you continue to fight against the Babylonians, you cannot win.’”