If this is true why do well paying companies have their pick of employees and less well paying ones have to take their left overs? I exaggerate for effect but most companies don’t have anything like an attractive mission so they need to compete on pay, somewhat on benefits, but overwhelmingly on pay.
The well paying companies have no trouble hiring someone good, but I wouldn't say they have "their pick" of employees. There are a lot of people out there who politely decline or ignore every approach from FAANG recruiters, for example, because the mission or company are unattractive and high pay doesn't make up for it.
So from a statistical perspective you can say that paying well means they have a lot of people to choose from. But some types of mission are greatly affected by the few particular people who are really specialised or inspired in some area or another, and those people aren't always willing to give up their personal dreams to work for an unattractive company just for a larger pay packet.
People differ, not everyone wants to work there. Also Goldman & perhaps not Google but Amazon have infamously high churn - suggesting to me the money's not enough to stay (maybe could never be) vs. next best, so they move on now they have the badge for their CV.
Google and Goldman have no trouble hiring.