First tell them you do not like their negativity, in polite way, then,
leave them alone or take them to a shrink etc.!