As with so many things in life, I think it comes down to attitude and circumstance. A job that pays well can be a means to an end. It can be what provides you with health insurance, if that is an important need for you. It can provide you with money to work toward your dreams. It is also nice not to be unemployed.
That being said, I have worked jobs that I detested. I still got up everyday to go to work and gave as close to my all as I could because it's my own personal work ethic. I did look at it as a means to an end. I stayed employed while I looked for another job that I would find that was a better fit. I had responsibilities to myself to stay employed, so I did. It's really trading one stress for another and given the choice, I personally, would choose being employed at a job I detested over being unemployed and struggling to pay my bills.
One job in particular that I detested actually ended up laying me off due to the recession in 2008. That was nice for about a week. Then the stress of finding a new job and worrying about money really set in. Having unemployment was a help but it certainly didn't cover everything. It took me 8 months to find another job. I ended up finding a wonderful job after I started volunteering. A person I 'worked' with heard of an opening and recommended me for the job. It was my dream job and I loved every minute of it. I probably wouldn't have found that dream job if I hadn't had the opportunity to volunteer my time while I was unemployed. In the end it worked out well for me.
My circumstances didn't allow me to quit my job that I detest but because I detested it I began to look for ways to lower my expenses and build up my emergency fund. It was then that I began to realized that debt was a trap and the way to freedom, for me, was smaller footprint, limited expenses and a savings account.