Pope John XXIII
Mater et Magistra §245
Mater et Magistra: On Christianity and Social Progress
245 In Our paternal care as universal Pastor of souls, We earnestly beg Our sons, immersed though they be in the business of this world, not to allow their consciences to sleep; not to lose sight of the true hierarchy of values. 246. Certainly, the Church teaches—and has always taught—that scientific and technical progress and the resultant material well-being are good things and mark an important phase in human civilization. But the Church teaches, too, that goods of this kind must be valued according to their true nature: as instruments used by man for the better attainment of his end. They help to make him a better man, both in the natural and the supernatural order.
Source: Mater et Magistra (Vatican.va)