I earn more than most medical doctors in my home country. They save lives, while I write software that could disappear tomorrow and no chaos would ensue. But I do earn my employers more money than the doctor does.
The only world in which this is right is a world where you only care about yourself and being rich. Meritocracy is inherently subjective and depends largely of what you value to give people merit, and in a lot of cases that's "we fucked over two dozen tiny companies with patent troll lawsuits and made millions".
They save lives, while I write software that could disappear tomorrow and no chaos would ensue. But I do earn my employers more money than the doctor does.
The only world in which this is right is a world where you only care about yourself and being rich.
Just regular supply and demand thing. Too many doctors, and not enough software engineers.