Imam Ali (PBUH):
" knowledge is better than wealth. Knowledge guards you, while you have to guard the wealth. Wealth decreases by spending, while knowledge multiplies by spending, and the results of wealth die as wealth decays.
knowledge is belief which is acted upon. With it man acquires obedience during his life and a good name after his death. Knowledge is the ruler while wealth is ruled upon.
those who amass wealth are dead even though they may be living while those endowed with knowledge will remain as long as the world lives. Their bodies are not available but their figures exist in the hearts."
Source: Nahjul Balagha, Hadith n. 147