From Pope Benedict XVI’s encyclical Caritas in Veritate (2009):
The Church’s social doctrine has always maintained that justice must be applied to every phase of economic activity, because this is always concerned with man and his needs. Locating resources, financing, production, consumption and all the other phases in the economic cycle inevitably have moral implications. Thus every economic decision has a moral consequence. The social sciences and the direction taken by the contemporary economy point to the same conclusion. Perhaps at one time it was conceivable that first the creation of wealth could be entrusted to the economy, and then the task of distributing it could be assigned to politics. Today that would be more difficult, given that economic activity is no longer circumscribed within territorial limits, while the authority of governments continues to be principally local. Hence the canons of justice must be respected from the outset, as the economic process unfolds, and not just afterwards or incidentally. Space also needs to be created within the market for economic activity carried out by subjects who freely choose to act according to principles other than those of pure profit, without sacrificing the production of economic value in the process. The many economic entities that draw their origin from religious and lay initiatives demonstrate that this is concretely possible.
In the global era, the economy is influenced by competitive models tied to cultures that differ greatly among themselves. The different forms of economic enterprise to which they give rise find their main point of encounter in commutative justice. Economic life undoubtedly requires contracts, in order to regulate relations of exchange between goods of equivalent value. But it also needs just laws and forms of redistribution governed by politics, and what is more, it needs works redolent of the spirit of gift. The economy in the global era seems to privilege the former logic, that of contractual exchange, but directly or indirectly it also demonstrates its need for the other two: political logic, and the logic of the unconditional gift.
— Caritas in Veritate 37