Surprisingly, in social simulations, the species that helped others to gain resources and reproduce ended up doing better than those who acted out of pure self-interest.