It can be a factor for some. Personally, I think I'm happier now overall than I was a couple of decades ago. Not to say I don't get cranky and irritable sometimes, because that definitely happens. Maybe moreso now. But I think that's because I just don't have the tolerance for nonsense.
But I'm fairly content with life. And my attitude towards people who have different lifestyle to me had mellowed out, because life's too short. I think that has helped with my overall happiness quite a lot.
I'd be even happier if the wider world wasn't going to shit. But eh, it is what it is.
Big "you can't quit, your fired!" energy.