One of the issues that evolutionary thinkers dealt with as they finally got to the question of human evolution in the 1860s-70s was how to account for "higher" human faculties like morality and how to place them within an evolutionary framework. Alfred Russel Wallace offered the first serious stab at the issue in his paper "The Origin of Human Races and the Antiquity of Man deduced from the Theory of 'Natural Selection'" (1864), where he suggested that, although natural selection operated on ancient/primitive humans, civilization & culture intervened to create a different process:
But in man, as we now behold him, this is different. He is social and sympathetic. In the rudest tribes the sick are assisted at least with food; less robust health and vigour than the average does not entail death. Neither does the want of perfect limbs or other organs produce the same effects as among animals. Some division of labour takes place; the swiftest hunt, the less active fish, or gather fruits; food is to some extent exchanged or divided. The action of natural selection is therefore checked; the weaker, the dwarfish, those of less active limbs, or less piercing eyesight, do not suffer the extreme penalty which falls upon animals so defective.
In proportion as these physical characteristics become of less importance, mental and moral qualities will have increasing influence on the well-being of the race. Capacity for acting in concert, for protection and for the acquisition of food and shelter; sympathy, which leads all in turn to assist each other; the sense of right, which checks depredations upon our fellows; the decrease of the combative and destructive propensities; self-restraint in present appetites; and that intelligent foresight which prepares for the future."
But, Wallace argues, precisely because those qualities provide a benefit for cultures, natural selection operates anyway, just differently: morality and other higher faculties
must have been for the benefit of each community, and would, therefore, have become the subjects of 'natural selection.' For it is evident that such qualities would be for the well-being of man; would guard him against external enemies, against internal dissensions, and against the effects of inclement seasons and impending famine, more surely than could any merely physical modification. Tribes in which such mental and moral qualities were predominant, would therefore have an advantage in the struggle for existence over other tribes in which they were less developed, would live and maintain their numbers, while the others would decrease and finally succumb.
With savages, the weak in body or mind are soon eliminated; and those that survive commonly exhibit a vigorous state of health. We civilised men, on the other hand, do our utmost to check the process of elimination; we build asylums for the imbecile, the maimed, and the sick; we institute poor-laws; and our medical men exert their utmost skill to save the life of every one to the last moment. There is reason to believe that vaccination has preserved thousands, who from a weak constitution would formerly have succumbed to small-pox. Thus the weak members of civilised societies propagate their kind. No one who has attended to the breeding of domestic animals will doubt that this must be highly injurious to the race of man. It is surprising how soon a want of care, or care wrongly directed, leads to the degeneration of a domestic race; but excepting in the case of man himself, hardly any one is so ignorant as to allow his worst animals to breed.
The aid which we feel impelled to give to the helpless is mainly an incidental result of the instinct of sympathy, which was originally acquired as part of the social instincts, but subsequently rendered, in the manner previously indicated, more tender and more widely diffused. Nor could we check our sympathy, if so urged by hard reason, without deterioration in the noblest part of our nature. [ch. 5]
Thomas Henry Huxley would come to the same position in Evolution and Ethics (1893).
Last modified 2 August 2019