Something my wife once told me that really stuck with was;
Your job is just how you afford to pay for the things you like to do.
And that really helped me to reframe how I view my working life.
At the time I was a welder, earning reasonable, but not mind-blowing money, doing a job that I never really liked. I hated coming home filthy every night, I hated sweating my arse off during the warm months, freezing it off when it was cold, because you can't carry out my line of work in an air conditioned office. After she told me that, it helped me to look at my work life from a different angle, which bizarrely had the effect of chilling me the fuck out, to the point that, while I didn't love what I was doing, I came to accept that I was good at it. And if I didn't like it, I had the power to find a job doing something else. Hell, I could stack shelves at a supermarket for only a little less than I was earning at the time.
Then I got promoted into the office, because that mindset change apparently made me a more reliable worker.
I've been with this company for five years now, and have managed to wiggle into a space where my job is neither one thing nor another. One day I'll be devising training plans for the guys on the shop floor, the next I'm creating valuable documentation that they need, then I'm helping out the Health & Safety manager with audits. And while I don't love working here, I've finally got to a place where I can see a future where I'm not in my 60s, clambering about under rusty old railway wagons, welding up cracks, fucking my back and knees.