An analysis of the life spans and social lives of nearly 1,000 mammal species shows that species that live in groups, such as horses and chimpanzees, tend to live longer than solitary beasts, like weasels and hedgehogs.
https://www.sciencenews.org/article/mammals-groups-longevity-genetics