Pope Pius XI
Quadragesimo Anno §55
Quadragesimo Anno: On Reconstruction of the Social Order
55 And therefore, to the harassed workers there have come "intellectuals," as they are called, setting up in opposition to a fictitious law the equally fictitious moral principle that all products and profits, save only enough to repair and renew capital, belong by very right to the workers. This error, much more specious than that of certain of the Socialists who hold that whatever serves to produce goods ought to be transferred to the State, or, as they say "socialized," is consequently all the more dangerous and the more apt to deceive the unwary. It is an alluring poison which many have eagerly drunk whom open Socialism had not been able to deceive.
Source: Quadragesimo Anno (Vatican.va)