Did you try to understand his situation?
From what you're telling us, it looks like he's a pretty shitty person, but maybe you should consider sitting down with him and have a heart-to-heart talk with him. Try to understand why he sees the world that day - maybe he has a misanthropy that can't be controlled and needs to see a professional (psychologist) to help fix his problems.
Understanding is the key - sure, you might make yourself vulnerable when you try to understand someone you dislike or try to discuss opposing opinions. Once you understand, you can understand how to diagnose his problem and come up with a solution to help him with his mess. Really, if he keeps this up, you'll feel guilty on about giving up [too early] and there may be volatile repercussions that may come back to you later in life.