The idea of justice is stupid, flawed, and leads everyone to think in odd ways in the first place. There is no justice, no deserving something, none of it. Nobody deserves, earns, or gets what they have, they simply are who they are and have what they have. Regardless of circumstances, we should always take the path that leads to the best for all of us. Regardless of if some people deserve better, or some people deserve worse, or some people deserve X or Y or Z. It's not about what you or others deserve, it's about doing what's best. Communism, for instance, would be a very fair system. We all live well, and nobody has to live badly, we all get what we need to live and are free to contribute to the system. However, it's not what works best. Capitalism is.