Having kids is a 4 billion year old life function (instinct). Simultaneously it is a highly sofisticated behaviour with multiple dimensions (raising).
Genetics play a decisive role in kid's behaviour and powers/weaknesses. Next comes the mother, next the father and later the society.
Let's not forget that parents are "kids" of the society that heavily influence their behaviour that eventually shapes their kids.