Jeremiah 38:2-3

38:2 “The Lord says, ‘Those who stay in this city will die in battle or of starvation or disease. Those who leave the city and surrender to the Babylonians will live. They will escape with their lives.’” 38:3 They had also heard him say, “The Lord says, ‘This city will certainly be handed over to the army of the king of Babylon. They will capture it.’”

Jeremiah 38:17-18

38:17 Then Jeremiah said to Zedekiah, “The Lord, the God who rules over all, the God of Israel, says, ‘You must surrender to the officers of the king of Babylon. If you do, your life will be spared and this city will not be burned down. Indeed, you and your whole family will be spared. 38:18 But if you do not surrender to the officers of the king of Babylon, this city will be handed over to the Babylonians and they will burn it down. You yourself will not escape from them.’”