A group collaborating will have better chance of survival than an individual. The upside of working with your neighbors outweighs the benefit of destroying them.
That might be true for individuals of the same (social) species, but I don't think that's a given in the context of technological civilisations competing for resources.