Good' did not triumph. 'Evil' did not triumph. The two resolved, destroyed each other and created new 'evils', new 'goods' which slew each other in their turn.
Without friends no one would choose to live, though he had all other goods.
Without friends, no one would want to live, even if he had all other goods.