My teacher told me about this in high school. As humans we have a natural thirst for knowledge. While naturally kids did their own thing for the first few weeks they eventually started going to class. It teaches them to want to go to class. You’re not forced to learn and because of that you want to learn.
Yesterday my friend and I were walking out of Forever 21 and the wind blew my skirt up a little. I had shorts on underneath (for this very reason) but two guys in a parked car saw it happen and yelled at me to lift it more, I yelled back, “fuck you!” and they laughed. So I took my pocket knife out of my bag and said, “I will slash your fucking tires” and they did not laugh