With eager desire you are setting out to acquire knowledge, my friend; of yourself you are making clear how genuine is your longing and how passionate your thirst for it. Be sure that, if in your quest for knowledge your aim is to gain something for yourself and to surpass your fellows, to attract men’s attention to yourself and to amass this worldly vanities, then you are on the way to bring your religion to nothing and destroy yourself, to sell your eternal life for this present one; your bargain is dead loss, your trading without profit.
On the other hand, if in seeking knowledge your intention and purpose between God most high and yourself is to receive guidance and not merely to acquire information, then rejoice. The angels will spread out their wings for you when you walk, and the denizens of the sea will ask pardon from God for you when you run.
Imam Abu Hamid al-Ghazali