In my personal experience, the asshole kids overlapped greatly with the popular kids in a Venn diagram sense. People, in general, did want to be their friends.
And we were (almost) all assholes sometimes, but there's definitely a class of kids who were assholes most of the time.
My point was that kids are disproportionately likely to treat other kids badly, especially when adults aren't around. That kind of situation is common at school, but much less common at home, unless the parents choose to allow it.
Not necessarily those two exact options, but yes. Adults are free to self-segregate. Even in K–12, once the option for tracking into advanced classes is available, everyone's social lives improve.
It's important to know how and when to advocate for yourself and others, when to escalate through proper channels and when to escalate outside of proper channels, and when to back down and let them be an asshole because they're frankly not worth your time.
This is not the W for the government schools that proponents seem to think it is.
People discount school rituals, but they happen a lot. Pop quizzes happen all the time within my career. You don't always get to say, "I'll get back to you" as much as we all wish that was true.
When I was a kid in public school, there was no shortage of assholes and I definitely would have preferred to not have to deal with them. OTOH, I don't doubt that there is also some value in that experience, not to mention interacting with all the other people. Also, we didn't have social media or semi-regular school shootings when I was a kid. So yeah.. to me, it's not at all obvious which set of tradeoffs is preferable nowadays.