All of those people were born into Joktan’s family. Their country was in the mountains in the east, the country you see if you go from Mesha all the way to Sefar.
That is the big list of all the families and tribes that were born into Noah’s family. They split up into their own nations, and they went everywhere after the big flood.
At first he just made one man, then later he made all of us from that man. All of us in every tribe everywhere were born into that man’s family. And God gave each tribe their own country, and he planned where they will live and how long they will live there.