Pope John XXIII
Mater et Magistra §11
Mater et Magistra: On Christianity and Social Progress
11 As is well known, the outlook that prevailed on economic matters was for the most part a purely naturalistic one, which denied any correlation between economics and morality. Personal gain was considered the only valid motive for economic activity. In business the main operative principle was that of free and unrestricted competition. Interest on capital, prices—whether of goods or of services—profits and wages, were to be determined by the purely mechanical application of the laws of the market place. Every precaution was to be taken to prevent the civil authority from intervening in any way in economic matters. The status of trade unions varied in different countries. They were either forbidden, tolerated, or recognized as having private legal personality only.
Source: Mater et Magistra (Vatican.va)