Agreed on the goofy gimmicks part though. They get old very fast.
But there are also other forms of happiness. One is a generalized sense of well-being. Another is a sense of growth or flourishing and fulfilling one's potential. I think it's sort of natural that people associate these things with their careers (especially the latter). And I understand why it's disheartening to feel that at the end of the day you're a cog in a machine, that your work may actually be damaging to your well-being and distracting or sucking away time and energy from things that would allow you to flourish. Worst of all for many people in tech, you may feel that the work you do is actually net harmful to not just yourself but to your coworkers and your users.
I think you're right to call out people to take responsibility for themselves and to realize the world doesn't owe them anything, but I also think it's a more nuanced issue and there are some easy traps to fall into out there.
From the economic perspective, no one cares whether you find your work interesting. You don't either when you buy a product or a service. Someone is paying you for some product or service, not to make your life fun. That's your problem. You think everyone else is having lot of fun at work? You want to go tell them how uniquely awful your life is? How you thought work was supposed to be a 24/7 orgasm? How your jobs is about _you_ and _your_ jollies and not the client or the user?
Perhaps a maximum 40hr work week would be a better industry benefit than free snacks and the other goofy gimmicks that companies like Google like to ply people with. That way, you can spend the extra time on your hobbies.