From Pope St. John Paul II’s encyclical Fides et Ratio (1984):
The Book of Wisdom contains several important texts which cast further light on this theme. There the sacred author speaks of God who reveals himself in nature. For the ancients, the study of the natural sciences coincided in large part with philosophical learning. Having affirmed that with their intelligence human beings can “know the structure of the world and the activity of the elements . . . the cycles of the year and the constellations of the stars, the natures of animals and the tempers of wild beasts” (Wis 7:17, 19-20)—in a word, that he can philosophize—the sacred text takes a significant step forward. Making his own the thought of Greek philosophy, to which he seems to refer in the context, the author affirms that, in reasoning about nature, the human being can rise to God: “From the greatness and beauty of created things comes a corresponding perception of their Creator” (Wis 13:5). This is to recognize as a first stage of divine Revelation the marvellous “book of nature”, which, when read with the proper tools of human reason, can lead to knowledge of the Creator. If human beings with their intelligence fail to recognize God as Creator of all, it is not because they lack the means to do so, but because their free will and their sinfulness place an impediment in the way.
Seen in this light, reason is valued without being overvalued. The results of reasoning may in fact be true, but these results acquire their true meaning only if they are set within the larger horizon of faith: “All man’s steps are ordered by the Lord: how then can man understand his own ways?” (Prov 20:24). For the Old Testament, then, faith liberates reason in so far as it allows reason to attain correctly what it seeks to know and to place it within the ultimate order of things, in which everything acquires true meaning. In brief, human beings attain truth by way of reason because, enlightened by faith, they discover the deeper meaning of all things and most especially of their own existence. Rightly, therefore, the sacred author identifies the fear of God as the beginning of true knowledge: “The fear of the Lord is the beginning of knowledge” (Prov 1:7; cf. Sir 1:14).
— Fides et Ratio 19-20