Pope Pius XII
Divino Afflante Spiritu §49
Divino Afflante Spiritu: On Promoting Biblical Studies
49 Whosoever considers the immense labors undertaken by Catholic exegetes during well nigh two thousand years, so that the word of God, imparted to men through the Sacred Letters, might daily be more deeply and fully understood and more intensely loved, will easily be convinced that it is the serious duty of the faithful, and especially of priests, to make free and holy use of this treasure, accumulated throughout so many centuries by the greatest intellects. For the Sacred Books were not given by God to men to satisfy their curiosity or to provide them with material for study and research, but, as the Apostle observes, in order that these Divine Oracles might "instruct us to salvation, by the faith which is in Christ Jesus" and "that the man of God may be perfect, furnished to every good work."
Source: Divino Afflante Spiritu (Vatican.va)