Pope Pius XI
Quadragesimo Anno §125
Quadragesimo Anno: On Reconstruction of the Social Order
125 It is certainly most lamentable, Venerable Brethren, that there have been, nay, that even now there are men who, although professing to be Catholics, are almost completely unmindful of that sublime law of justice and charity that binds us not only to render to everyone what is his but to succor brothers in need as Christ the Lord Himself, and - what is worse - out of greed for gain do not scruple to exploit the workers. Even more, there are men who abuse religion itself, and under its name try to hide their unjust exactions in order to protect themselves from the manifestly just demands of the workers. The conduct of such We shall never cease to censure gravely. For they are the reason why the Church could, even though undeservedly, have the appearance of and be charged with taking the part of the rich and with being quite unmoved by the necessities and hardships of those who have been deprived, as it were, of their natural inheritance. The whole history of the Church plainly demonstrates that such appearances are unfounded and such charges unjust. The Encyclical itself, whose anniversary we are celebrating, is clearest proof that it is the height of injustice to hurl these calumnies and reproaches at the Church and her teaching.
Source: Quadragesimo Anno (Vatican.va)