Many cultures and countries ranked as healthy, and I mean overall like children to elderly are places where people walk everywhere. They aren't all power lifting or even going to gyms.
Strength training is good but overall daily activity is best.
The via media comes with difficulty as it requires reason and discernment, whereas extremes are easy and mindless, and people either under-exercise (the more common case) or over-exercise.
But historically, I would argue that we see more extreme "fitness" fads today than we did previously. Really dumb stuff that no longer has anything to do with health or fitness or beauty and more to do with some weird obsession.
Someone that goes for regular long walks is better off than a powerlifter, I doubt you would consider that a convincing argument against the gym.
One observation I had was that people coming to the gym to spend majority of their time on the treadmill are mostly women. I'm not sure if it is to lose weight, or simply because with infrastructure hostile to walking, the likelihood of problematic encounters increases greatly. Though I wouldn't feel entirely safe walking around at 23:00 without my dog either.