I think it is important to be able to differentiate between constructive criticism and pure negativity. Some people are just not that happy with their own lives and overly criticizing others makes them feel better about themselves. When dealing with such people, don't take their words too personally.