Lots of pro and amateur athletes bowed out of team competition over the last 2 years because of Covid concerns and that seemingly was okay. Didn't hear a lot of complaining about it. Those players have suffered not at all because of it.
A young woman suffering from the effects of mental illness, pulls out of a team competition and is vilified. If she had a diabetic issue, or ligament issue, or heart issue, or some other physical issue, that would be seen as okay. But because mental illness is invisible(can't be seen in an x-ray, CAT scan, MRI, etc.) and the affects almost entirely unseen as well, that isn't acceptable.
Completely disagree with anyone that is castigating her for doing what was in her best mental health, self interests.
How would any of you feel if she "played through" this, couldn't take the immense pressure anymore and so committed suicide? Guess she would really be letting her team down then, huh?