Control of the rivers brought in rich and fertile soil. They
took advantage of this to create agriculture.
It benehit poop you idiiots!
No, it didn't. It benefitted silt, a fine, sandy soil. This helped their crops grow. They controlled the river by building walls around their city-states.