but your question assumes capitalism is here to stay.
It does not. In my last sentence I specifically said "Even if you would make sure that money isn’t a barrier", which rules out capitalism. So in a system where everyone has equal access to everything, you still only have a limited amount of skilled people with the right profession. If there are currently 1000 first-degree-murder cases where life sentences are on the line, and you only have 10 extremely good lawyers ... 990 people will still end up worse than the 10 that had the luck (!!) to get these 10 good lawyers assigned.