It helps to be close to your users, or to build software that has a clear purpose. It’s good to work on a small team where your input has a clear influence on the quality pf the product.
I think you are rationalizing your choices by thinking everything does the same. It is not true, some are not stuck anywhere, some choose to live a simpler life that needs less money, fewer compromises, etc. etc. the world is a big place.
Like, I’m not going to work overtime for free or anything, but the time I do work gets my best effort.
I think we forget the big picture that "no one gets out alive" and that it's up to each of us to spend the time we have in a way that makes us happy. If you can afford to not spend 1/3 of your time at a job in order to fund the remaining 2/3 of your existence, lucky you! But if not, choosing to slack off at a job you hate is essentially choosing to throw 1/3 of your life away being miserable. (Not judging if that's your choice, but its baffling to me.)
Do you have any guiding star for what work gives you meaning?
I thought getting closer to the users/customers would help me. After all, software is for humans. But I found the social aspects of that, handling bugs, setting expectations for features, was tiresome and not meaningful. The only happiness I did find was when I saw my client/users flourish without me with the software I made tailored as best as it could be for the money. But that doesn't make a business unfortunately...