I agree with that, but in my circles, and ffs I add anecdotal again (I am not a science journal), the ones who inherited are dead (3 of them drank themselves literally to death out of boredom in my small town), addicts or in jail. So I guess it can land well, but I would think rich parents/social class and then hard work would be better.
Why didn't they leave the small town?
They did: that was worse imho: rich young bored guys with millions in a city. It sped up the process. None of them died in the town we grew up in but they were all buried there. Note that these were high-school class mates.
The first is a prerequisite. Hard work might be needed, but not always, specially if you are born in to a rich family.