But I do have a problem with this. This is a giant leap in your reasoning which I don't think is supported by Scripture. The nations in the verse are human nations.
Jeremiah in the spirit of prophesy took the Jews back to the prehistoric world at a time that it was being destroyed.
Note: The Hebrew word used for "people" was a generic term which could also be termed "humanoid.'
Neanderthal perhaps... is what it was referring to.
I got that info from Professor Stan Ashby (Harvard) who after retirement taught Ancient Languages at a Bible college I attended.
Jeremiah was prophesying to the rebellious Jews about an example of the type of judgment they were to face, a world that was utterly destroyed and ceased to exist, as seen in Jeremiah 4: 22-27
“My people are fools;
they do not know me.
They are senseless children;
they have no understanding.
They are skilled in doing evil;
they know not how to do good.”
23 I looked at the earth,
and it was formless and empty; (ruined and wasteland) Genesis 1:2
and at the heavens,
and their light was gone.
24 I looked at the mountains,
and they were quaking;
all the hills were swaying.
25 I looked, and there were no people;
every bird in the sky had flown away.
26 I looked, and the fruitful land was a desert;
all its towns lay in ruins
before the Lord, before his fierce anger.
27 This is what the Lord says: (to the Jews)
“The whole land will be ruined,
though I will not destroy it completely.
Jeremiah prophesied destruction to the Jews while looking back to the final judgement
of the prehistoric world as an example of how God can destroy what He judges.
That world had humanoids which were most likely the highest form of intelligence in the animal creation.
They formed cities like we see animals forming into their own habitats.
Bees have hives... Ants have underground tunneling and chambers. And, the ancient type of man instinctively formed their own habitats.
Those Jews hearing Jeremiah were about to be destroyed. They did not have some scientific agenda
to deal with and defend such as evolution. They just accepted what Jeremiah said as it being so.
Those "humanoids" referred to as people.... were most likely what we find the remains of and categorize them as "cavemen."
They were not created in God's image like we have been. For they were generic humanoid beings.
They were the forerunner of what God was to later bring after destroying them all in the universal flood we see in Genesis One.