> You can’t drink the water in the ocean
Yes, that's why I wrote only about rivers, but I think a lot of the big coastal cities are built on an estuary too. My point was implementation on a river is not just for transportation, but also access to other benefits, like easy access to water. For coastal cities, they also have access to fishing (rivers can also give access to fish, but not the same amounts).