You may feel more desperate, not less, if you are unemployed vs in a job you hate. Having a job is also likely a bigger signal to future employers that you're worth hiring than doing slightly better in the interview.
My current job is pretty toxic and I've taken the wait it out approach, but this is mostly because I really hate the process of job hunting.