In what ways did geography affect the development of ancient Egyptian society?

In what ways did geography affect the development of ancient Egyptian society?