Why was civilization first developed along the river valleys?

Along rivers, those civilizations can farm better because of rich fertile soil, good sources of water to use for daily needs.