Jeremiah 38:2

"Thus says the Lord: Whoever will remain in this city will die by the sword, and by famine, and by pestilence. But whoever will flee away from the Chaldeans, will live, and his soul will dwell in safety

Other versions

King James Version

Thus saith the LORD, He that remaineth in this city shall die by the sword, by the famine, and by the pestilence: but he that goeth forth to the Chaldeans shall live; for he shall have his life for a prey, and shall live.

English Standard Version

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

New International Version

"This is what the LORD says: 'Whoever stays in this city will die by the sword, famine or plague, but whoever goes over to the Babylonians will live. He will escape with his life; he will live.'