Pope Pius XII
Humani Generis §38
Humani Generis: Concerning Some False Opinions Threatening to Undermine the Foundations of Catholic Doctrine
38 Just as in the biological and anthropological sciences, so also in the historical sciences there are those who boldly transgress the limits and safeguards established by the Church. In a particular way must be deplored a certain too free interpretation of the historical books of the Old Testament. Those who favor this system, in order to defend their cause, wrongly refer to the Letter which was sent not long ago to the Archbishop of Paris by the Pontifical Commission on Biblical Studies. This letter, in fact, clearly points out that the first eleven chapters of Genesis, although properly speaking not conforming to the historical method used by the best Greek and Latin writers or by competent authors of our time, do nevertheless pertain to history in a true sense, which however must be further studied and determined by exegetes; the same chapters, (the Letter points out), in simple and metaphorical language adapted to the mentality of a people but little cultured, both state the principal truths which are fundamental for our salvation, and also give a popular description of the origin of the human race and the chosen people. If, however, the ancient sacred writers have taken anything from popular narrations (and this may be conceded), it must never be forgotten that they did so with the help of divine inspiration, through which they were rendered immune from any error in selecting and evaluating those documents.
Source: Humani Generis (Vatican.va)