Theory:

The land along the rivers is fertile. If there is fertile land, then crops can be grown. Animals can also be raised if there is enough food and water for them. People learned that if they live near a water supply (Riverbank), they could stay and grow enough food to feed their community.
Important!
Ancient people settle near the river because the land near the river is fertile. They also started domesticating animals because they got enough food and water for their cattle.
water source.jpg
 
People realised that they could settle down to grow enough food to feed their community if they were near a water supply.
They also used the river water to take bath and to wash their cattles.
The river is used to water vegetables, farms and cereals, especially maize. So for watering their fields, it has to be closer to the river. People also started fish consumption.
 
people lived near river.jpg
 
Prehistoric works of flood defence shows the development of engineering skills. Highly elaborated irrigation works are known from Mohenjo-Daro, the ziggurats(temple mounds) of the Euphrates valley. This was originated in ancient Egypt in response to the complete annual inundation of the Nile flood plain, where holdings had to be redefined after each flood subsided.
 
The first human settlements found near the river valleys of Hither Asia dated back to \(10,000 \)years ago at the site of Arīḥā, which is also known as ancient Jericho. Similar settlement were found in the Tigris-Euphrates and Nile valleys, which were dated back to at least \(6000\) years ago.