We don’t know when Jeremiah delivered this message: was it during the start of the siege, sometime around the break (when Egypt had briefly appeared to help Israel), or towards the end, when things looked grim? Whenever it was, Jeremiah’s response was:
Jeremiah 21:8-10 This is what the Lord says: Take your choice of life or death! Everyone who stays in Jerusalem will die from war, famine, or disease, but those who go out and surrender to the Babylonians will live. Their reward will be life! For I have decided to bring disaster and not good upon this city, says the Lord. It will be handed over to the king of Babylon, and he will reduce it to ashes.