The current working consensus of Africanist historians and archaeologists is that ancient Egyptian civilization was principally an outgrowth not only of an African environment, but also of African prehistory.
They point to the importance of the very ancient settlements of the Upper Nile and the Sahara of the last African wet phase.