The Nile river made ancient Egypt an agricultural society, relying on crops to grow when the Nile flooded, which was a very benign thing. They associated gods with the Nile, and their constant supply of food from the crops along the Nile allowed them to build and invent some pretty cool stuff.