When that happens to me, I try to remember that it will happen where ever I go. If I quit, I will have to go through finding another job. I may not find as good of a job. The people may not be as friendly. All the bad I find with the job I have will happen at any job. I have to look at the benefits of keeping the job. My pay increases as I stay and do a good job. I have some benefits I might not get somewhere else.
One thing that I have been told is that it is easier to get a new job if you are already employed. If you do decide to leave, you may want to start looking before the day you quit. Good luck either way. Hugs!