There is no doubt that negativity is contagious.
When you are around negative people you tend to be more negative.
At some point, if you want to remove the negativity from your life (and we all should) you will have to remove the negative people as well. It wont be an easy thing to do but in the long run, it will be well worth it.
Have a great, and positive day!