It’s terrible at that. Rich people are very good at passing down wealth, even in high tax environments. They just move abroad for a bit.
They also pay for education and use networks and names to get their kids jobs and status.