I think / hope we'll look back on this attitude and tut, just like we are astounded at the woolly thinking we've applied to children in years gone by.
If you replace the child for an adult it's possible to see how unreasonable it is that we force children to carry on school attendance at all costs.
If an adult was absolutely miserable and traumatised by spending their days in a work environment that was destroying their mental health, we wouldn't force them to carry on regardless. Yes it's better for mental health to carry on doing something productive than give up altogether, but we wouldn't make them keep on being exposed to the same distressing environment (often with no change, help or resolution). There would be many alternatives like moving roles/ teams/ departments, moving jobs altogether, raising a grievance and getting some justice for bad employment practices & bullying etc, going back to retrain or study to find a more suitable career, or downsizing, moving or starting your own business, becoming a consultant/ freelancer etc. And that's in addition to mental health treatments, councelling, medicines, psychologist and psychiatrist intervention etc etc.
Too many times you hear about children unsupported, disbelieved and forced to just get over it/ deal with it and stop bringing school attendance stats down.
I hope one day we look back with incredulity at the way we accepted it as the system 'doing its best'. I admire the parents who successfully home educate. I'd love to be in the position of having alternatives if my child found school a living hell, and unfortuneately im not in a position to home educate so i really hope DS never has problems like some of the desperate families and children you read about on here (& elsewhere too).
For me it comes under the same heading as pain relief and babies. Until far too recently prem babies and even full term poorly babies were routinely given NO pain relief when undergoing procedures that an older child or adult would be tanked up to the eye balls for. It was thought that babies couldn't feel pain. Just because they coyldnt articulate it. I think we all know that's bollocks now, just looking at a baby with nappy rash or colic and I think it's pretty bloody clear babies can feel pain, but it was widely believed for a long time.
Anyway, I know that seems a leap, but I see parallels in the practise of treating children as somehow less able to feel/ react or suffer when we'd never dream of treating an adult in the same way.