Here is the story of Shem, Ham and Japheth. They were Noah's sons. After the flood, they too had sons.
The sons of Japheth were Gomer, Magog, Madai, Javan, Tubal, Meshech and Tiras.
The sons of Gomer were Ashkenaz, Riphath and Togarmah.
The sons of Javan were Elishah, Tarshish, the Kittim and the Rodanites.
The people who lived by the sea came from all of them. Their tribes and nations spread out into their own territories. Each tribe and nation had its own language.
The sons of Ham were Cush, Egypt, Put and Canaan.
The sons of Cush were Seba, Havilah, Sabtah, Raamah and Sabteca. The sons of Raamah were Sheba and Dedan.
Cush was the father of Nimrod. Nimrod grew up to be a mighty hero on the earth.
He was a mighty hunter in the LORD's eyes. That's why people sometimes compare others with Nimrod. They say, "They are like Nimrod, who is a mighty hunter in the LORD's eyes."
At first Nimrod's kingdom was made up of Babylon, Erech, Akkad and Calneh. Those cities were in the land of Babylonia.
From that land he went to Assyria. There he built Nineveh, Rehoboth Ir and Calah.
He also built Resen. It is between Nineveh and Calah. Nineveh is the great city.
Egypt was the father of the Ludites, Anamites, Lehabites and Naphtuhites.
He was also the father of the Pathrusites, Casluhites and Caphtorites. The Philistines came from the Casluhites.
Canaan was the father of Sidon. Sidon was his oldest son. Canaan was also the father of the Hittites,
Jebusites, Amorites and Girgashites.
And he was the father of the Hivites, Arkites, Sinites,
Arvadites, Zemarites and Hamathites. Later the Canaanite tribes scattered.
The borders of Canaan went from Sidon toward Gerar all the way to Gaza. Then they went toward Sodom, Gomorrah, Admah and Zeboiim all the way to Lasha.
Those are the sons of Ham. They are listed by their tribes and languages in their territories and nations.
Sons were also born to Shem. Shem was Japheth's younger brother. All of the sons of Eber came from Shem.
The sons of Shem were Elam, Asshur, Arphaxad, Lud and Aram.
The sons of Aram were Uz, Hul, Gether and Meshech.
Arphaxad was the father of Shelah. Shelah was the father of Eber.
Eber was the father of two sons. One was named Peleg. That's because the earth was divided up in his time. His brother was named Joktan.
Joktan was the father of Almodad, Sheleph, Hazarmaveth and Jerah.
He was also the father of Hadoram, Uzal, Diklah,
Ophir, Havilah and Jobab. All of them were sons of Joktan.
The area where they lived stretched from Mesha toward Sephar. It was in the eastern hill country.
Those are the sons of Shem. They are listed by their tribes and languages in their territories and nations.
Those are the tribes of Noah's sons. They are listed by their family lines within their nations. From them the nations spread out over the earth after the flood.