Why did civilizations begin in the river valley?

Since ,food is a basic need of man and for food crops every man needs to perform agriculture. Agriculture cannot be carried out without excess of water, therefore, every civilisations began in the river valley