I haven’t left many jobs because they paid poorly, but I’ve definitely stayed at jobs because they paid very well.
For many people working in the tech industry for the past ~15 years, they could easily find a new job with comparable or better pay. That’s no longer a guarantee for most people.