You're presenting group selection, natural selection at the level of the group, as an established theory. But that's not the case.
From Wikipedia, quoting evolutionary biologist Jerry Coyne: "Group selection isn't widely accepted by evolutionists for several reasons."