Which ancient communities were more likely to survive the selection process?

Communities of ancient people were subjected to group selection, which favored the preservation of those collectives in which more socially developed individuals prevailed. This was expressed in improving the inhibitory mechanisms of the brain, allowing to reduce mutual aggressiveness, as well as in the development of properties that contributed to the enrichment of knowledge on the basis of their own and other people’s experience.
The most important feature of human society is the availability of a fund of social and cultural information that is not biologically inherited and transmitted from generation to generation through training (and at later stages of the development of society, encoded in writing) and in the form of tools and other material and spiritual values ​​created by previous generations. The growth and development of this social fund gradually reduced the dependence of man on nature, which could not but lead to significant changes in the very nature of the evolutionary transformations of man. For any human population, the stock of material culture accumulated by previous generations is an essential part of the habitat. Natural selection adapted human groups to this specific environment of their own — selection in favor of individuals more capable of learning and working, and group selection in favor of groups in which individuals with more developed social behavior predominated.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.