If you have a health problem, you should do your best to get exercise, eat healthy, etc. However, that doesn't mean medicines are wasteful or pointless. People often greatly benefit from them.
I've struggled with ADHD, depression, and anxiety my whole life. And indeed, yes, the best treatment I've found is diet, weight training, and long-duration cardio. Which I do.
But people who are "in the hole" need medicines to dig them out. And also, people with kids/multiple jobs don't have as much time as I do. And these habits take years to finally stick. And I still need ADHD medication.
And the best treatment for things like this is to try every treatment you can together, but don't overwhelm yourself in the process (and it takes wisdom to not overwhelm yourself).
People on Twitter opine about this kind of stuff piss me off. They think their vague notions about what is right for society--that they have no experience with--should take precedence over my decades of (informal) research and lived experience. It's okay to have opinions and discuss things, but don't try to bully the people who actually know what they're talking about.