The highest paid ones were usually the ones who job hopped the most during the times of economic boom. They added little value where they went as their tenure was too short for that, but the market was so hot and the dev demand so high that tenure length and adding value didn't matter back then.
If you knew how, where and when to jump ship during the past boom, you could be an incompetent buffoon and you could still end up making way more than the tenured workers actually adding value to the company.
Now the companies are attempting to correcting that "mistake".