To keep everybody around you healthy makes the probability of caching a disease lower for yourself, too.
Grooming behaviour in primates helps in the same way. And it is so important that it is linked to all kinds of mental rewards.
To let disease run amok in your own neighborhood it would be very costly.