Your friends are sharing your struggles with you? Sounds like a great time to mock them for... Checks notes "caring about you" and "offering solutions that are both available and have scientific evidence suggesting they actually help".
This isn't saying "it's just in your head". This isn't claiming taking a walk will cure you. But this is suggesting clinically-proven treatments that may ease symptoms.
Are there toxic people out there who think mental disorders are not real? Sure. But jumping to the conclusion that the people trying to offer solutions are downplaying your illness and being "heartless" and "stupid" is a fairly significant jump to make from just "hey maybe you should try these clinically-proven treatments".
I kind of disagree with that being not caring about you. It's kind of more like they are helpless to help you, but they still want you to be better because they want you to be happy.
So, a lot of people default to giving useless advice. It is still an expression of care and love and support, just an ineffective one that is insulting and annoying to someone who's currently going through it.
I would much rather have somebody whom I've known for years tell me to try doing things that improve their mental health than to have nobody or for everyone to just look the other way while I am suffering.