To most europeans there are more important things than money, especially those working in tech who likely earn enough to have a great quality of life. Also lots of them have been to the US and made their own minds up.
https://worldpopulationreview.com/country-rankings/happiest-...
Ignore the US; keep believing that Sweden is happier than Spain :)
They should really call it something like "World ESG Index."