I think some people probably conflate the two without realising. You think your work is just as valuable to the company, if not more valuable than your manager's, and you could very well be right. However, value of your work is only one factor that determines your salary, there are other market forces in play, and it's hard to rationalise about such things.