4 "Do you see . . ." he wrote, "how St. Paul the Apostle (I Cor . viii, 2), makes the fruit and the utility of knowledge consist in the way we know? What is meant by 'the way we know'? Is it not simply this, that you should recognize in what order, with what application, for what purpose and what things you should know? In what order - that you may first learn what is more conducive to salvation; with what zeal - that you may learn with deeper conviction what moves you to more ardent love; for what purpose - that you may not learn for vain glory, curiosity, or anything of the kind, but only for your own edification and that of your neighbor. For there are some who want knowledge for the sole purpose of knowing, and this is unseemly curiosity. And there are some who seek knowledge in order to be known themselves; and this is unseemly vanity . . . and there are also those who seek knowledge in order to sell their knowledge, for example, for money or for honors; and this is unseemly quest for gain. But there are also those who seek knowledge in order to edify, and this is charity. And there are those who seek knowledge in order to be edified, and this is prudence."
Source: Doctor Mellifluus (Vatican.va)