Jeremiah 40:12

12 So they left the places where they had been scattered, and returned to Judah. They came to Gedaliah at Mizpah, and there they gathered in large amounts of wine and fruit.

Jeremiah 40:12 Meaning and Commentary

Jeremiah 40:12

Even all the Jews returned from all places whither they were
driven
Through fear of the Chaldean army; they came all of them from the several countries before mentioned; so that here was like to be a happy settlement and a flourishing commonwealth again; here being princes and generals, soldiers and common people, in large numbers, that were returned and coalesced under the government of Gedaliah: and came to the land of Judah, to Gedaliah, unto Mizpah;
they came out of the several countries where they had been for some time, and entered the land of Judah; but did not take up their abode anywhere, till they had presented themselves to the governor, and put themselves under his protection; promising, no doubt, to regard him as such, and to be tributary to the Chaldeans; being assured by him, as the generals and their forces before, that all would be well with them, giving them free liberty to settle in the cities and villages to which they belonged; and accordingly they set out from Mizpah, and went to their respective habitations they had abandoned: and gathered wine and summer fruits very much;
(See Gill on Jeremiah 40:10); the people of the land being carried captive; and the Chaldean army not having ravaged these parts, or however had left an abundance of fruits, which these people, at their return, found and gathered.

Jeremiah 40:12 In-Context

10 I myself will stay in Mizpah and be your representative when the Babylonians come here. But you can gather and store up wine, fruit, and olive oil, and live in the villages you occupy."
11 Meanwhile, all the Israelites who were in Moab, Ammon, Edom, and other countries, heard that the king of Babylonia had allowed some Israelites to stay on in Judah and that he had made Gedaliah their governor.
12 So they left the places where they had been scattered, and returned to Judah. They came to Gedaliah at Mizpah, and there they gathered in large amounts of wine and fruit.
13 After this, Johanan and the leaders of the soldiers who had not surrendered came to Gedaliah at Mizpah
14 and said to him, "Don't you know that King Baalis of Ammon has sent Ishmael to murder you?" But Gedaliah did not believe it.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.