That the Knowledge of Terrestrial and Celestial Things Does Not Give Happiness, But the Knowledge of God Only
7 Does, then, O Lord God of truth, whosoever knows those things therefore please You? For unhappy is the man who knows all those things, but knows You not; but happy is he who knows You, though these he may not know. But he who knows both You and them is not the happier on account of them, but is happy on account of You only, if knowing You he glorify You as God, and gives thanks, and becomes not vain in his thoughts. But as he is happier who knows how to possess a tree, and for the use thereof renders thanks to You, although he may not know how many cubits high it is, or how wide it spreads, than he that measures it and counts all its branches, and neither owns it nor knows or loves its Creator; so a just man, whose is the entire world of wealth, and who, as having nothing, yet possesses all things by cleaving unto You, to whom all things are subservient, though he know not even the circles of the Great Bear, yet it is foolish to doubt but that he may verily be better than he who can measure the heavens, and number the stars, and weigh the elements, but is forgetful of You, “who hast set in order all things in number, weight, and measure.”
Source: Confessions (New Advent)