Yeah, Hepatitis A is similar. There are a bunch of diseases that aren’t that serious to most of the population if you catch them as an infant. Sanitation actually made polio worse, as people who catch it at 14 have a much worse prognosis than people who catch it at 1. For those diseases, vaccines are basically a safer way to achieve the same effect.
I think improvements in sanitation (especially the sanitation of doctors) made a huge improvement in the mortality rate of women of child-bearing age, and anyone who has had surgery, though.
Clean water and proper sewage disposal/treatment are inseparable from advances in medicine.
Physicians like John Snow, William Budd and William James were at the forefront of alerting authorities to the need for sanitation and safe water supplies.