I didn't say to quit working entirely. I have worked at several jobs where my main goal was finding a different one while paying bills.
Some people suck to work for or with, while some jobs just are terrible for you as an individual for a variety of reasons, and you don't need to put yourself through that.
I'm a big proponent of "keep moving til you're happy"
Really depends on personal circumstance though. Having the time to shop for a new job after you're done with your main job isn't a luxury everyone has.