What is unimpeachable is that jobs that compensate the best can recruit the best. But that compensation isn't merely a cash amount - it also includes public perception about the ethics of the business (which will vary from person to person), expected quality of life while working (including the caliber of coworker you'll be interacting with) and expected interest - all among many other factors.
Monetary compensation is certainly important and, if driven high enough, can account for extremely poor scores in other areas - but most people will tend to be pretty holistic about their job search. If I posted a job with a 700k compensation that was accompanied by constant 24/7 stress and existential dread you'd be surprised how many senior people would pass on that opportunity.