Jeremiah 40:4-6
40:4 But now, Jeremiah, today I will set you free from the chains on your wrists. If you would like to come to Babylon with me, come along and I will take care of you. But if you prefer not to come to Babylon with me, you are not required to do so. You are free to go anywhere in the land you want to go. Go wherever you choose.”
40:5 Before Jeremiah could turn to leave, the captain of the guard added, “Go back to Gedaliah, the son of Ahikam and grandson of Shaphan, whom the king of Babylon appointed to govern the towns of Judah. Go back and live with him among the people. Or go wherever else you choose.” Then the captain of the guard gave Jeremiah some food and a present and let him go.
40:6 So Jeremiah went to Gedaliah son of Ahikam at Mizpah and lived there with him. He stayed there to live among the people who had been left in the land of Judah.