Thus, those ethical systems which make virtue, right, obligation, the cardinal aims, are seen to be complementary to those ethical systems which make welfare, happiness, pleasure, the cardinal aims.

Spencer follows up this argument with a chapter on the relativity of pleasures and pains, and then proceeds with an argument against excessive altruism as, in the end, selfish, since it is destructive to the power for work and to individual life, diminishes the vigor of offspring, and finally results in the survival of the less altruistic as the fittest; this chapter is under the heading "Egoism versus Altruism." It is followed by a chapter on Altruism versus Egoism, in which is shown that some individual self-sacrifice, at least to offspring, is found far down in the scale of being; that altruism is, therefore, "no less primordial than self-preservation,"[47] and hence no less imperative; that this altruism, at first unconscious, becomes, in higher stages of evolution, conscious; and that if often selfish in motive, it may be without any element of conscious self-regard, although it conduces greatly to egoistic satisfaction. Indeed, pure egoism defeats itself, since pleasure palls by over-indulgence, is dulled by maturity, and almost destroyed by old age. He that can find pleasure in ministering to that of others has, however, a source of pleasure which may serve in place of personal pleasure. In the associated state, a certain altruism is, and must necessarily be, an advantage to each member of the community. Whatever conduces to the well-being of each is conducive to the well-being of all.

Here follows a criticism of utilitarianism as one form of pure altruism, since, according to the utilitarian doctrine, each individual is to count for one, not more than one, and the individual share of happiness thus becomes infinitesimal as compared with general happiness. Shall A, who has, by labor, acquired some material happiness, take the attitude of a disinterested spectator with regard to their use, as Mr. Mill recommends? And will he, as such, decide on a division of these means to happiness with B, C, and D, who have not labored to produce them? From the conclusion that a really disinterested spectator would not decree any such division, Spencer seems to draw the conclusion that Mr. Mill's position is untenable. He further illustrates the untenability of utilitarianism (as pure altruism) by the figure of a cluster of bodies generating heat, each of which will have, as long as it generates heat for itself, a certain amount of proper heat and a certain amount of heat derived from the others; whereas the whole cluster will become cold as soon as each ceases to generate heat for itself and depends on the heat generated by the rest. Utilitarianism involves the further paradox that, to achieve the greatest sum of happiness, each individual must be more egoistic than altruistic. "For, speaking generally, sympathetic pleasures must ever continue less intense than the pleasures with which there is sympathy." And while the individual must be extremely unegoistic in that he is willing to yield up the benefit for which he has labored, he must, at the same time, be extremely egoistic, since he is so selfish as willingly to let others yield up to him the benefits they have labored for. "To assume that egoistic pleasures may be relinquished to any extent is to fall into one of those many errors of ethical speculation which result from ignoring the laws of biology.... To yield up normal pleasure is to yield up so much life; and there arises the question:—to what extent may this be done?... Surrender, carried to a certain point, is extremely mischievous, and to a further point, fatal."[48] After beginning, however, with this assertion that to assume that egoistic pleasure may be relinquished to any extent is to fall, from ignorance of biology, into an error of ethical speculation, Spencer reaches only the conclusion that, if the individual is to continue living, he must take "certain amounts" of those pleasures which go along with the fulfilment of the bodily functions, and that "the portion of happiness which it is possible for him to yield up for redistribution is a limited portion." He further argues that "a perfectly moral law must be one which becomes perfectly practicable as human nature becomes perfect"; but that the law of utilitarianism does not so become practicable, since opportunities for practising altruism, which originate in imperfection in others, will diminish and finally disappear in the ideal state. There is no addition to happiness by redistribution, and there is the additional labor and loss of time of such redistribution. The conclusion must be that "general happiness is to be achieved mainly through the adequate pursuit of their own happiness by individuals, while reciprocally, the happiness of individuals is to be achieved in part by their pursuit of the general happiness." The chapter on the conciliation of altruism and egoism is occupied with the development of sympathy, as the militant spirit grows less. The expression of emotion, as also the power of interpreting such expression, must become greater as the impelling cause to concealment found in lack of sympathy, disappears. When conditions require any class of activities to be relatively great, there will arise a relatively great pleasure accompanying that class of activities; the scope for altruistic activities will not exceed the desire for altruistic satisfaction. Such altruistic satisfaction, though in a transfigured sense egoistic, will not be pursued egoistically—that is, from egoistic motives. General altruism will resist too great altruism in the individual, and as the occasion for self-sacrifice disappears, altruism will take on the ultimate form of sympathy with the pleasure of others produced by the successful activities of these. And so there will disappear the apparently permanent opposition between egoism and altruism.

The last two chapters of "The Data of Ethics" deal with Ethics as the law of the ideal man in an ideal society, and treat of the attainment of general principles in this science as in other sciences by the neglect of conflicting factors, and the recognition of fundamental factors, in the gradually accumulated knowledge of society. On account of the diversity of men and societies, a code of perfect personal conduct can never be made definite; only certain general conditions of perfection can be pointed out. As life is now carried on, the conflict of claims is continual; and ethical science, here necessarily empirical, can do no more than aid in making least objectionable compromises. Absolute Ethics, which supplies the law of perfect right-doing possible only in an ideal state, does not greatly aid Relative Ethics, yet it aids somewhat, as keeping before consciousness an ideal conciliation of claims, and suggesting search for the best form of compromise possible under the circumstances.

"Justice," which constitutes Part IV. of "The Principles of Ethics," and to which "The Data of Ethics" belongs as Part I., was published (1891) in advance of Parts II. and III. The argument of the book runs as follows:—

Ethics properly involves a consideration of the conduct of animals as well as of human beings, for the primary subject-matter of Ethics is conduct considered as producing good and bad results to self or others, or both, not, as most people believe, conduct as calling forth approbation or disapprobation. And even on this latter view, Ethics includes Animal Ethics, since we feel approbation or disapprobation with regard to many actions of animals.

Animal Ethics includes, as its two cardinal principles, the opposed classes of altruistic and egoistic acts. For preservation of the species, benefits received must be, during immaturity, inversely proportionate to merit or capacities possessed, merit being measured by powers of self-sustentation, and after maturity, directly proportionate to worth as measured by fitness to the conditions of existence. Furthermore, though the species is made up of individuals, many of these individuals may disappear and the species still be preserved, whereas its disappearance as a whole involves absolute failure in achieving the end, so that, where preservation of individuals conflicts with preservation of the species, the individuals must be sacrificed.

The principle that among adults benefits must be in proportion to merits, implies in its biological aspect survival of the fittest. Its violation involves double harm to the species by sacrifice of the superior to the inferior, and consequent increase of the inferior. "Interpreted in ethical terms, it is that each individual ought to be subject to the effects of its own nature and resulting conduct"; and throughout sub-human life this rule holds without qualification. The same principle is displayed in the mutual relations of the parts of organisms, every part being nourished in proportion to its use or function, a balancing of the relative powers of the parts being thus effected, and the organism "fitted as a whole to its existence by having its parts continuously proportioned to the requirements." In a parallel manner, the species as a whole is fitted to its environment by the greater prosperity to self and offspring that comes to those better adapted.

But sub-human justice is extremely imperfect, alike in general and in detail.

In general it is imperfect, in that the sustentation of multitudinous species depends on the wholesale destruction of others; so that, in the species serving as prey, the relations between conduct and consequence are so habitually broken that in very few individuals are they long maintained. It is true the destruction of the species serving as prey is the result of their natures; "but this violent ending of the immense majority implies that the species is one in which justice, as above conceived, is displayed in but small measure." Sub-human justice is also imperfect in detail, in that the relation between conduct and consequences is, in such an immense proportion of cases, broken by accidents,—such as scarcity of food, inclemencies of weather, invasions by parasites, attacks of enemies,—which fall indiscriminately on the superior and the inferior. As organization becomes higher, sub-human justice becomes more decided; as general superiority increases, there is less dependence on accident, and individual differences become more important.