My parents were both teachers, and it was a very commonly held belief among teachers that you could predict a kid's academic outcome reasonably well by simply learning about their parent(s) behaviors and home life. Kids' academic achievement has little to do with the quality of schools, quality of teachers, wealth or poverty of the area, but has everything to do with the positive and negative traits of their parents.
(did a sustained stint as a volunteer guardian ad litem [1] and occasionally provide advice to others performing the work)
Just because something defines 90% of the result, it doesn't mean you must just give-up and not work on that remaining 10%.
The same applies to the luck vs. hard work problem people keep missing the point about.
https://www.nycfoodpolicy.org/states-that-have-passed-univer...
Divorce is also more common for selfish and self-centered people, and I would argue that those traits do not make for good parents. (which is not to say that a good person should remain married to such a spouse --- arguably the only thing worse than a good divorce is a bad marriage)
Ages ago, I worked at a school for boys, and one could pretty much map negative trats of the parents to corresponding unsocial behaviours on the part of the child.