Jeremiah 38:2

“This is what the Lord says: Whoever stays in this city will die by sword and famine and plague, but whoever surrenders to the Chaldeans will live; he will retain his life like a spoil of war, and he will live.

Note That is, the Babylonians; also in verses 18, 19, and 23

BSB · Berean Standard Bible
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.
KJV · King James Version
“The Lord says, ‘He who remains in this city will die by the sword, by the famine, and by the pestilence, but he who goes out to the Chaldeans will live. He will escape with his life and he will live.’
WEB · World English Bible
Thus saith Jehovah, He that abideth 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, and his life shall be unto him for a prey, and he shall live.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

He
Jeremiah 38:17–23; Jeremiah 21:8, 9; Jeremiah 24:8; Jeremiah 27:13; Jeremiah 29:18; Jeremiah 34:17; Jeremiah 42:17, 22; Jeremiah 44:13; Ezekiel 5:12–17; Ezekiel 6:11; Ezekiel 7:15; Ezekiel 14:21; Matthew 24:7, 8; Revelation 6:4–8
shall have
Jeremiah 21:9; Jeremiah 39:18; Jeremiah 45:5