Jeremiah 40:2-8 ESV

2 The captain of the guard took Jeremiah and said to him, “The Lord your God pronounced this disaster against this place.

3 The Lord has brought it about, and has done as he said. Because you sinned against the Lord and did not obey his voice, this thing has come upon you.

4 Now, behold, I release you today from the chains on your hands. If it seems good to you to come with me to Babylon, come, and I will look after you well, but if it seems wrong to you to come with me to Babylon, do not come. See, the whole land is before you; go wherever you think it good and right to go.

5 If you remain, then return to Gedaliah the son of Ahikam, son of Shaphan, whom the king of Babylon appointed governor of the cities of Judah, and dwell with him among the people. Or go wherever you think it right to go.” So the captain of the guard gave him an allowance of food and a present, and let him go.

6 Then Jeremiah went to Gedaliah the son of Ahikam, at Mizpah, and lived with him among the people who were left in the land.

7 When all the captains of the forces in the open country and their men heard that the king of Babylon had appointed Gedaliah the son of Ahikam governor in the land and had committed to him men, women, and children, those of the poorest of the land who had not been taken into exile to Babylon,

8 they went to Gedaliah at Mizpah—Ishmael the son of Nethaniah, Johanan the son of Kareah, Seraiah the son of Tanhumeth, the sons of Ephai the Netophathite, Jezaniah the son of the Maacathite, they and their men.