Pope John XXIII
Mater et Magistra §83
Mater et Magistra: On Christianity and Social Progress
83 Consequently, if the whole structure and organization of an economic system is such as to compromise human dignity, to lessen a man's sense of responsibility or rob him of opportunity for exercising personal initiative, then such a system, We maintain, is altogether unjust—no matter how much wealth it produces, or how justly and equitably such wealth is distributed.
Source: Mater et Magistra (Vatican.va)