Well..I'm sorry that man has such a sad life.All you really have to say to someone like that is:"I'm so sorry your so unhappy with your life."
Or if he's really a jerk you can say"I'm so sorry your so miserable".