That’s part of the deal isn’t it. The government can’t decide and mandate what the optimal way to raise a child is outside of certain aspects like schooling, corporal punishment, age of consent etc.
What makes schooling, corporal punishment, age of consent, and - as discussed here - control over online communication acceptable government interventions into an otherwise wise, benevolent and self-sufficient family?