One of the purposes of school is to keep students off the streets and out of trouble.
Every human civilization and tribal community does this.
It's why we in the USA spend so much time in the early grades not just on arithmetic and ABCs, but on stuff like the Pilgrims, the first Thanksgiving, George Washington, Benjamin Franklin, etc. It's not really anything anyone needs to know for day to day life in 2025, but it's a set of common stories that we all can relate to, draw analogies to, and yes rally around if called to do so. I'm not sure really how much this is true today, I'm reflecting on my experience in the 1970s.