Typhoid fever is another really nasty disease, often contaminated water transmitted, that still kills hundreds of thousands of people per year (http://www.who.int/immunization/diseases/typhoid/en/). But in countries with clean water and good sanitation the infection rate is very little. As an exmaple: the US over time: https://www.wikidoc.org/images/3/30/Typhoid_stats.gif
I can't say how much this shortened the average lifespan overall, but these are some pretty significant diseases which are largely transmitted by contaminated water (or food), and which are largely eliminated by water and sanitation treatment systems. I'm sure there's some others, these are just the first two that came to mind.
Giardia by comparison is more of a "nuisance", but with treatment methods so cheap (I mean, iodine tablets are on the order .15 a tablet or so) I really don't see a reason to take the risk of that or other stomach-upsetting bugs getting in you.