Are you sure about that? If there wasn't school, then literally all adults would have no jobs. Second of all, depending on the country, school is not prison. They let you out after a certain amount of time after you learn something. If you wanna try a jail for kids, go to a juvie center.
I hope you learned something new today