Egypt's geography (being in a deserty place with a big river nearby which helped facilitate agriculture and transport/trade) did indeed have an influence in their achievements. Most notably, they had to learn how to use the flooding of the river Nile which occured every summer to their advantage, so that they could reap proper harvests each year :)