Why Garbage Men Don’t Make As Much As Bankers

Why don’t teachers make as much as entertainers? Why don’t garbage collectors make as much as CEOs or financiers? Examples like this seem to show markets are unjust: any system that pays X more than Y (when Y seems to produce more real value) can’t be one with good priorities.