In economic matters, respect for human dignity requires the practice of the virtue of temperance, so as to moderate attachment to this world's goods; the practice of the virtue of justice, to preserve our neighbor's rights and render him what is his due; and the practice of solidarity, in accordance with the golden rule and in keeping with the generosity of the Lord, who "though he was rich, yet for your sake . . . Became poor so that by his poverty, you might become rich."
Source: Catechism of the Catholic Church (Vatican.va)