As I said above, in the Western world, sanitation and other interventions both contributed to our current state of health. As the graph I linked to shows, antibiotics haven't appreciably changed the rate of decline of infectious disease. This is no way means that antibiotics and/or vaccines are ineffective. As you point out, looking at specific diseases shows that these interventions are helpful.
Here's the data for measles if folks are interested - there was indeed a remarkable drop after the institution of the vaccine[1].
1. https://www.quackwatch.com/03HealthPromotion/immu/immu01.htm...