This is such a BS attitude. A person’s ability doesn’t map directly with their salary.
The very best developers I’ve ever worked with? Small companies outside of major cities (for life style reasons). Not everyone is trying to max their income; some want a good job doing something they love.
Small companies can offer more meaningful impact, if you’re not the type who likes being a tiny cog or commanding armies.