People who have negative attitudes just may not be able to help themselves. Read how to stay positive in the face of such company at https://www.headspace.com/blog/2016/12/07/stay-positive-around-negative-people/.
Disclosure: I do not work for Headspace but I am a happy subscriber.