Meritocracy mostly legitimizes inherited privilege