Wow, that comment summarizes a pernicious lack of value to sports in many places around the world today.
No, sports are deeply important.
It's not just about exercising your body. It's also about the game behind it, striving to overcome obstacles (external and internal), developing resilience and discipline.
And doing it with a connection between mind and body.
This will train your mind and wire your neurobiology to protect you from depression, lack of will or motivation, among other things.
WebMD has a brief intro to the subject, if you'd like to explore. [1]
> I can say exactly the same thing about learning a musical instrument
Well, one thing being good doesn't invalidate other, unrelated things also being good.
I enjoy music a lot and played the guitar in the past. My anecdotal experience is indeed positive.
Never researched the mental health benefits from playing an instrument, though. If you have any research to point out, I'd appreciate. If I had to bet, it won't be as significant as playing a sport involving physical activity.
[1] https://www.webmd.com/mental-health/benefits-of-sports-for-m...
> Never researched the mental health benefits from playing an instrument, though.