The eusocial altruistic behavior of bees and other Hymenoptera requires relatedness (kin selection), but it also requires other ecological benefits like a nest that could be kept safe across multiple generations. This work is detailed exhaustively by Richard Alexander where he discusses origins of altruistic group behavior in both eusocial species and humans.