God’s design is the parents are teachers of their children.
Hebrews 12:4-11 – Think of “discipline” as “discipling” – which is training. An illegitimate child is deprived of his father’s training; this is tragic and utterly unfair to the child.
Proverbs 22:6 – This is a command to parents. Children do not come into the world knowing the way to go; they must be taught it.