Society ensures social justice by providing the conditions that allow associations and individuals to obtain their due.
CCC 1947
Respect for the human person considers the other "another self." It presupposes respect for the fundamental rights that flow from the dignity intrinsic of the person.
The equality of men concerns their dignity as persons and the rights that flow from it.
The differences among persons belong to God's plan, who wills that we should need one another. These differences should encourage charity.
The equal dignity of human persons requires the effort to reduce excessive social and economic inequalities. It gives urgency to the elimination of sinful inequalities.
Solidarity is an eminently Christian virtue. It practices the sharing of spiritual goods even more than material ones.
God’s Salvation: Law and Grace
Called to beatitude but wounded by sin, man stands in need of salvation from God. Divine help comes to him in Christ through the law that guides him and the grace that sustains him:
Work out your own salvation with fear and trembling; for God is at work in you, both to will and to work for his good pleasure (Phil 2:12-13).
The Moral Law
The moral law is the work of divine Wisdom. Its biblical meaning can be defined as fatherly instruction, God's pedagogy. It prescribes for man the ways, the rules of conduct that lead to the promised beatitude; it proscribes the ways of evil which turn him away from God and his love. It is at once firm in its precepts and, in its promises, worthy of love.
Law is a rule of conduct enacted by competent authority for the sake of the common good. the moral law presupposes the rational order, established among creatures for their good and to serve their final end, by the power, wisdom, and goodness of the Creator. All law finds its first and ultimate truth in the eternal law. Law is declared and established by reason as a participation in the providence of the living God, Creator and Redeemer of all. "Such an ordinance of reason is what one calls law." (Leo XIII, Libertas praestantissimum: AASActa Apostolicae Sedis 20 (1887/88), 597; cf. St. Thomas Aquinas, SThSumma Theologiae (St. Thomas Aquinas) I-II, 90, 1)
Alone among all animate beings, man can boast of having been counted worthy to receive a law from God: as an animal endowed with reason, capable of understanding and discernment, he is to govern his conduct by using his freedom and reason, in obedience to the One who has entrusted everything to him (Cf. Tertullian, Adv. Marc, 2, 4: PLPatrologia Latina (J. P. Migne) 2, 288-289).