Ham was the father of Ethiopia, Egypt, Put, and Canaan, and they were the ancestors of the kingdoms named after them.
Javan was the ancestor of Elishah, Tarshish, Kittim, and Dodanim.
Ethiopia was the ancestor of Seba, Havilah, Sabta, Raamah, and Sabteca. Raamah was the ancestor of Sheba and Dedan.