https://cew.georgetown.edu/cew-reports/schooled2lose/
EDIT: Genetics do play a part though!
https://www.sciencedaily.com/releases/2019/12/191218153459.h...
> The study, led by the University of York, found that parents' socioeconomic status and children's inherited DNA differences are powerful predictors of educational achievement.
> However, the research suggests that having the genes for school success is not as beneficial as having parents who are highly educated and wealthy. Only 47% of children in the study sample with a high genetic propensity for education but a poorer background made it to university, compared with 62% with a low genetic propensity but parents that are more affluent.
> The researchers found that children with a high genetic propensity for education who were also from wealthy and well-educated family backgrounds had the greatest advantage with 77% going to University. Meanwhile, only 21% of children from families with low socioeconomic status and low genetic propensity carried on into higher education.