(1) Quite a many hive organisms prioritize the group over the individual.
(2) The cells of every multicellular body do the same: Prioritizing individual contributions to the whole over individual survival.
Cells literally undergo programmed cell death to benefit the whole.
The exception would be cancer where the cells prioritize their own survival over that of the whole.