Wine was also used to clean up the water, and the water diluted the wine to avoid dehydration during the hot weather. :’) The Greeks did the same thing, in Homer there’s at least one scene where Odysseus is sitting at a table, mingling wine with water.
It's easy to forget that for most of human history urban water sources were dangerous. It was common to use alcohol or acid to mix with water to make it safer. Hence, the great popularity of tea and coffee. Also, it was common for people to drink beer over plain water until even into the 20th Century in the US and Northern Europe. Ahhh, for the old ways.