The function of the mind is to investigate and learn.
To learn in philosophical sense doesn´t only mean to cultivate the memory, or to accumulate knowledge, but to learn to think clearly and rational without illusions, to start with facts and not with beliefs and ideals.
When the thought originates from the conclusion, you learn nothing.
Merely to get information or knowledge is not to learn in philosophical sense.
To learn in philosophical sense includes love of understanding, and love of doing a thing for its own sake.