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...
This is purportedly related to the use of antibiotics to decrease bacterial sequelae of measles. I saw an academic reference to this effect but I can't find it again - here's a popular article. You'll note that this commentator ascribes some of the decrease in measles-related death to sanitation.
1. http://www.iayork.com/MysteryRays/2009/09/02/measles-deaths-...
Here's a figure for death from infectious disease by the CDC - note that antibiotics don't appreciably change the rate in decline
https://www.cdc.gov/mmwr/preview/mmwrhtml/mm4829a1.htm#fig1
just a random find - this paper from 1902 mentions the debate, too, with some descriptions of 'natural experiments' https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2401255/?page=1
Also, I am not saying that antibiotics and medications don't work - just that the story actually is more interesting than one might initially guess.
Lastly, these data discuss Western populations - I've heard the opposite may be true in poor countries.