Jeremiah 38:2

2Thus says the Lord: aHe who stays in this city shall die by the sword, by famine, and by pestilence, bbut he who goes out to the Chaldeans shall live. He shall have his life as a prize of war, and live.

Jeremiah 38:17

17Then Jeremiah said to Zedekiah, “Thus says the Lord, the God of hosts, the God of Israel: cIf you will surrender to dthe officials of the king of Babylon, ethen your life shall be spared, and this city shall not be burned with fire, and you and your house shall live.
Copyright information for ESV