The socialization that schools provide has been known to cause psychiatric problems that take years to recover from. Some former students never recover.
Children learn prison survival socialization in these institutions. Nearly all of these dysfunctional coping habits must absolutely be unlearned if they are to be successful in life.
Thankfully, humans are resilient and most move on to form health relationships with marriage, family, friends, neighbors, and co-workers. Sadly, some do not. We all know a few. :-(