Jeremiah 40:5

5 If you decide to stay, then return to Gedaliah son of Ahikam and grandson of Shaphan. He has been appointed governor of Judah by the king of Babylon. Stay there with the people he rules. But it’s up to you; go wherever you like.” Then Nebuzaradan, the captain of the guard, gave Jeremiah some food and money and let him go.

Jeremiah 40:5 In-Context

3 just as he said he would. For these people have sinned against the LORD and disobeyed him. That is why it happened.
4 But I am going to take off your chains and let you go. If you want to come with me to Babylon, you are welcome. I will see that you are well cared for. But if you don’t want to come, you may stay here. The whole land is before you—go wherever you like.
5 If you decide to stay, then return to Gedaliah son of Ahikam and grandson of Shaphan. He has been appointed governor of Judah by the king of Babylon. Stay there with the people he rules. But it’s up to you; go wherever you like.” Then Nebuzaradan, the captain of the guard, gave Jeremiah some food and money and let him go.
6 So Jeremiah returned to Gedaliah son of Ahikam at Mizpah, and he lived in Judah with the few who were still left in the land.
7 The leaders of the Judean guerrilla bands in the countryside heard that the king of Babylon had appointed Gedaliah son of Ahikam as governor over the poor people who were left behind in Judah—the men, women, and children who hadn’t been exiled to Babylon.
Holy Bible. New Living Translation copyright© 1996, 2004, 2007, 2013 by Tyndale House Foundation. Used by permission of Tyndale House Publishers Inc., Carol Stream, Illinois 60188. All rights reserved.