We have a lot of crime because we have police and courts. U.K. for example.
I disagree...police and courts are an after-thought.
When we are taught in the home and childhood contacts a religious or ethical system, most of us accept and try to live in that framework. To be rebellious is to be raised Catholic and attend a Pentecostal church...or to be raised Methodist and attend a Presbyterian church.
A very small number rebel by leaving their upbringing and going aetheist, communist, etc. But they are very few.
2025 with Social Media raising our youth, the experience of the past is mostly irrelevant.