This question already has an answer here:
The common consensus is that Noah's flood occurred around the 2200-2300 BCE. If this is so, then how could Egypt have been founded by Narmer in 3100 BCE? Is Mizraim the founder of Egypt? Or is Mizraim simply a descendant of Noah who inhabited alongside the earlier peoples?
This question is directed at people who believe that Noah's Flood was a historical global event, including Young Earth Creationists.