There exist tens of thousands of engineers at AppAmaGooBookSoft who have pay packages which top $300k. There exist thousands whose pay package approaches $1 million. These are facts about the world you live in.
I urge HNers to incorporate these facts about the world you live in into your career plans, including e.g. a pre-commitment to negotiate all job offers consistent with the knowledge that this is what the market is paying.
You need to get out of the salary game and work for yourself or do consultantcy if you want big bucks
It is possible to beat AppAmaGooBookSoft while working for oneself or running a consultancy. It takes a bit of doing, and isn't quite as straightforward as "get job; execute well at core job function; try to get assigned to really good projects."