What our species' success means for how we choose friends.