But more broadly, higher salaries correlate with better working conditions. That warehouse worker will have targets to hit every single shift, get in trouble for being five minutes late, will get written up for taking sick leave without a doctor's note, and will have to pay for their own food and drinks.
On the other hand, most jobs that pay a six-figure salary? There might be quarterly department-level targets, but you won't get fired for missing them. Flexible working hours, and no checks you're putting in your hours. Illness? Take as long off as you need. Of course there's free tea, coffee and snacks. Maybe there's also free breakfast, lunch and dinner.
Just because a job is highly paid, doesn't mean it'll be particularly onerous - in fact, often the opposite!
Amazon is obviously notorious. Facebook also seems to involve longer hours. Can't speak for Apple. My friend at Netflix reports working 40h/w on average as well.
I would argue that hours/week and salary are not necessarily directly correlated in the Silicon Valley tech companies.
Personally my most arduous job (50-60+h/w at a Korean conglomerate) was also the least paying (starting salary $35k, left after five years making $60k).
That said, while everyone's circumstances and desires are different, I would say typical quality of life making $300-500k at an above average 50h/w is arguably better than making <$100k USD equivalent at 35h/w even if you include all the European country social benefits. At some point an absurdly high compensation sort of lets you steamroll and acquire those benefits for yourself privately if you want them.
I was in a partnership in a small plane, and one of the guys was "in his 20's making $500k+" at google as an L6 plus retention bonus. Several engineers in my circle (early 30's) are on $500k+.
Currently I'm living in Europe but leaving back to SF. I tell people all the time about salaries in the US and point them to levels.fyi, but these salaries are so detached from their realities that they seem simply unable to believe them. Go look at levels.fyi, it matches very well with what I've heard on the ground.