Jeremiah 39-43 describes Nebuchadnezzar’s conquest of Jerusalem and the events that followed it. Most of the inhabitants of the land were taken to Babylon but some were left.
Nebuzaradan, the captain of the guard, left in the land of Judah some of the poor people who owned nothing, and gave them vineyards and fields at the same time. (Jeremiah 39:10)
A man named Gedaliah was appointed governor. He was assassinated and, fearing reprisals by Nebuchadnezzar, the Jews planned to flee to Egypt. They first asked Jeremiah to find out what God wanted them to do.
And they went and stayed at Geruth Chimham near Bethlehem, intending to go to Egypt because of the Chaldeans. For they were afraid of them, because Ishmael the son of Nethaniah had struck down Gedaliah the son of Ahikam, whom the king of Babylon had made governor over the land.
Then all the commanders of the forces, and Johanan the son of Kareah and Jezaniah the son of Hoshaiah, and all the people from the least to the greatest, came near and said to Jeremiah the prophet, “Let our plea for mercy come before you, and pray to the Lord your God for us, for all this remnant—because we are left with but a few, as your eyes see us—that the Lord your God may show us the way we should go, and the thing that we should do.”
Jeremiah the prophet said to them, “I have heard you. Behold, I will pray to the Lord your God according to your request, and whatever the Lord answers you I will tell you. I will keep nothing back from you.”
Then they said to Jeremiah, “May the Lord be a true and faithful witness against us if we do not act according to all the word with which the Lord your God sends you to us. Whether it is good or bad, we will obey the voice of the Lord our God to whom we are sending you, that it may be well with us when we obey the voice of the Lord our God.” (Jeremiah 41:17 – 42:6)