The moral dilemma of sacrificing friends for the greater good