I mean there's a pretty simple comparison here - it's illegal to not send your children to school. Why do we send children to school? So they are educated and developed into functional young adult members of society. You could make the argument that access for kids to the Internet, which has all of the world's information and connectivity, should be regulated in a similar fashion.
As a parent, I was shocked how little that's actually true, at least in some US states. Home-schooling can mean sending a copy of your curriculum to your school district and you're good to go.