Separate questions:
(1) Should we accept some level of economic inequality in society?
(2) Are the wealthy more "deserving" of their wealth than the non-wealthy?
It's perfectly consistent to answer (1) Yes and (2) No to those questions.
Capitalism is an economic system, not an ethical system. The "invisible hand of the market" is not God handing out rewards and punishment, though some people seem to believe that.
Even if we grant the proposition that a good way for society-wide progress is to harness the desire of some to have superior positions by forcing them to work hard at creating value for others, it doesn't really follow that inheritance is a good idea. Indeed, you could argue that it's just the opposite, if we really want a nation of hard workers, we have to make sure the youth can't get away with being lazy just because of some historic success that they didn't have any part in.
It’s saying “Because this person is a Jones, they deserve a spot at Yale even though others are more academically deserving, and we will pay you for that privilege.”
This is also why grade inflation happens at these institutions: “You can’t fail him, he’s a Jones!”