Pope Pius XI
Quadragesimo Anno §119
Quadragesimo Anno: On Reconstruction of the Social Order
119 Because of the fact that goods are produced more efficiently by a suitable division of labor than by the scattered efforts of individuals, socialists infer that economic activity, only the material ends of which enter into their thinking, ought of necessity to be carried on socially. Because of this necessity, they hold that men are obliged, with respect to the producing of goods, to surrender and subject themselves entirely to society. Indeed, possession of the greatest possible supply of things that serve the advantages of this life is considered of such great importance that the higher goods of man, liberty not excepted, must take a secondary place and even be sacrificed to the demands of the most efficient production of goods. This damage to human dignity, undergone in the "socialized" process of production, will be easily offset, they say, by the abundance of socially produced goods which will pour out in profusion to individuals to be used freely at their pleasure for comforts and cultural development. Society, therefore, as Socialism conceives it, can on the one hand neither exist nor be thought of without an obviously excessive use of force; on the other hand, it fosters a liberty no less false, since there is no place in it for true social authority, which rests not on temporal and material advantages but descends from God alone, the Creator and last end of all things.
Source: Quadragesimo Anno (Vatican.va)