Having just defined justice, Mill now turns to the question of whether the sentiment of justice comes from a special, unique tendency of nature, or whether it can be linked to the concerns of utility. Mill argues for the latter.
Mill contends that there are two components to justice. The first is the desire to punish a person who has done harm. This desire comes from the impulse of self-defense, and the feeling of sympathy. All animals have instincts of self- defense. However, unlike animals, humans are capable of sympathizing not only with their offspring, but with all human beings. Furthermore, humans are more intelligent, and thus have a wider range of sentiments and are able to feel that they are a part of a broader community of interests. Justice then, reflects the natural feeling of retaliation, expanded by sympathy and intellect to apply to things that harm society at large. In themselves, these feelings are not moral sentiments. Justice's moral component can be seen rather in the quality of the outrage people feel at an injustice: people can be upset by an injustice not only if it affects them individually, but if it goes against the interests of society at large; this demonstrates a moral concern.
The other component of justice is that there is an identifiable victim who suffers if justice is infringed upon. Mill argues that the idea of a right is not a concept separate from justice, but is rather a manifestation of the other aspects of justice, namely the desire for punishment and the fact that there is an assignable person who has been harmed. A right means that a person has a valid claim on society to protect him in the possession of that right. However, if one wants to know why society should defend this right, Mill argues that the only reason is one of general utility. The sentiment of justice derives its intensity from its link to the animalistic need for retaliation. It gets its moral force from the "impressive" kind of utility that is involved in rights violations--namely the interest of security. People cannot do without security, and require before they can enjoy anything else. Security is so fundamental that its difference of degree as a form of utility becomes a difference in kind. It is so important that it takes on a feeling of absoluteness, of moral necessity.
Mill then observes that if justice exists independent of utility, if it is a standard in its own right that can be understood through introspection, then it is difficult to understand why questions of justice are often so debatable. In fact, there is as fierce a discussion about what is just as there is about what is useful to society, and it is guided by many conflicting ideas. For example, there is a conflict over which acts should be punished, and over the proper apportionment of punishments. In a different arena, there is disagreement over whether people should be paid more for having natural talents, and whether taxes should be graduated, or issued at a flat rate. In fact, the only way to navigate among conflicting claims of justice is to look to the source of its authority, namely, social utility.
This does not mean, however, that there is no difference between the just and the expedient, or that policy is more important than justice. Rather, justice grounded on utility is the chief part, and the most important part, of all morality; it concerns many of the most basic essentials for human well-being. Mill argues that the moral rules that forbid people to harm each other are more important than any rules of policy, rules about how societal affairs should be managed. Furthermore, the preservation of justice preserves peace among human beings. Thus, there is a very strong utility interest in preserving and enforcing justice's dictates.
Mill argues that most of the applications of justice we observe today are simply ways of maintaining the notion of moral rights just discussed. Impartiality is one rule that is partly based in these, but also comes from the very meaning of utility. The greatest happiness principle doesn't have meaning unless each person's happiness, supposed equal in degree, is valued exactly as much as somebody else's. People are seen to have an equal claim to happiness, and an equal claim to the means to happiness. Social inequalities that are not required by expediency are thus seen to be unjust.
Mill closes by observing that justice is a name for some moral requirements, which are higher on the scale of utility, and thus more important, than any others. However, there can be cases in which some other social duty is so important that it overrules one of the general rules of justice. Thus, it could be acceptable to steal in order to save a life. Mill argues that the previous discussion has resolved what had been the only real problem with utilitarian theory. It has always been clear that cases of justice are also cases of expediency; the difference is that very different sentiments attach themselves to issues of justice and expeediency. Mill argues that he has accounted for what this feeling is; it is simply the natural feeling of resentment, moralized by being connected to social good. Justice is the name for certain social utilities that are more important than any other kind, and thus should be preserved by a feeling that is different in kind from others.
In this final section, Mill attempts to show that justice is actually grounded on utility. He argues that the sentiment of justice itself is rooted in the human desire of retribution. However, the reason why we feel that this sentiment of retribution is a moral one, is that it occurs when not only an individual is wronged, but when society in general is wronged. In cases involving justice, the challenge to social good is particularly pernicious, and therefore the feelings about it are uniquely strong. However, justice is still grounded in utility concerns. It does not have separate origins, but can rather be measured on the same scale of utility.
Perhaps Mill's most interesting comments are those on the question of rights. Unlike many utilitarians, Mill accepts the existence of rights. However, he does not ground these rights in nature, or in God, or in metaphysics. Rather, they are grounded in utility. Rights represent the most basic social utilities necessary for human well-being; human culture cannot flourish if society does not protect individual rights. Thus, rights are fundamental to the greatest happiness principle (utility), since they must be protected for people to be able to enjoy anything else.
However, it is important to consider the implications of grounding rights in utility. As Mill admits, grounding rights in utility implies that if there were a more pressing utility concern, rights could be violated. Mill would argue that there are very few cases in which this would occur; rights are among the most important criteria for happiness. However, since utilitarianism is concerned with total happiness, it does seem possible that there is room for violation of the rights of an individual in the interest of aggregate good. One must thus ask whether utility provides sufficient protection for the individual. Mill would argue that the protection the theory does provide, small as it may be, is the only protection that can be justified.