Egypt is mostly desert so its population grew along the Nile River because it was a water source. Everywhere else is uninhabited.