Quite a few PPs seem to be suggesting that raising kids is a societal responsibility. Thing is, it used to be. The expression "it takes a village to raise a child", meant that child-rearing needed a variety of people and approaches and the whole community would offer something.
This meant that children witnessed and heard good and bad. Those of us who are old enough remember the old lady who'd give them sweets without parental censure, or the crotchety old man who'd shout at you! So, we learned about 'community', 'risk', and different kinds of people. This was normal.
But in the last decade or two it's parents who've gaslit themselves into believing everyone outside their family is a threat, and anyone who intervenes in parenting is at risk of abuse or "offending" parents. Plenty of examples on MN of this, e.g. people moaning when 'strangers' have disciplined their child.
So, I'm afraid, modern parents have got what they wished for. They don't want other peoples' opinions. They only want support when it suits them and their aspirational 'parenting style', and not necessarily the needs of the child. Yet ironically, at the same time, many parents expect more and more from society.
Yes, yes, I know - 'stranger danger' etc. But the fact remains that a child is more likely to be killed, injured or subjected to physical or psychological abuse by someone in their family or close family network. A healthy, balanced child will have experience of everyone in their community, and will learn from this.