Pope Pius XII
Divino Afflante Spiritu §18
Divino Afflante Spiritu: On Promoting Biblical Studies
18 It is scarcely necessary to observe that this criticism, which some fifty years ago not a few made use of quite arbitrarily and often in such wise that one would say they did so to introduce into the sacred text their own preconceived ideas, today has rules so firmly established and secure, that it has become a most valuable aid to the purer and more accurate editing of the sacred text and that any abuse can easily be discovered. Nor is it necessary here to call to mind - since it is doubtless familiar and evident to all students of Sacred Scripture - to what extent namely the Church has held in honor these studies in textual criticism from the earliest centuries down even to the present day.
Source: Divino Afflante Spiritu (Vatican.va)