The difference between "genetic accident" and "intelligence" is not big.
Few, if any, poor families taught their children to be an autodidact. Once people are autodidact, I would expect a rise in socioeconomic status.
Let face it, it's going to be hard to rise up when you're stuck in a poor neighborhood with gangsters and bad influences.