Developers, just like almost everyone else, are not paid according to the value they create but according to the market. It doesn’t matter if you create $1M/month, if somebody else is willing to do it for $5000 that’s what you’re getting.
This is what you "sacrifice" for a predictable paycheck... think you're worth more? You can always try making it on your own.