Pope Pius XII
Divino Afflante Spiritu §46
Divino Afflante Spiritu: On Promoting Biblical Studies
46 But this state of things is no reason why the Catholic commentator, inspired by an active and ardent love of his subject and sincerely devoted to Holy Mother Church, should in any way be deterred from grappling again and again with these difficult problems, hitherto unsolved, not only that he may refute the objections of the adversaries, but also may attempt to find a satisfactory solution, which will be in full accord with the doctrine of the Church, in particular with the traditional teaching regarding the inerrancy of Sacred Scripture, and which will at the same time satisfy the indubitable conclusion of profane sciences.
Source: Divino Afflante Spiritu (Vatican.va)