That's kind of a bogus question to begin with. Africa is not exactly culturally homogenous, and in fact Egypt (and a lot of nearby civilizations) would be more appropriately regarded as part of the ancient Middle East, owing to the fact that it was easier to cross the Red Sea than the Sahara.