Wisdom from Prophets

Acquire knowledge, because one who gains it for the sake of Lord, performs an act of piety; who talks about it praises the Lord; who seeks it, adores God; who spends life in light of it, bestows alms; and who passes on it to others, performs an act of devotion to God. Knowledge helps to distinguish what is forbidden from what is not; lights the way to Heaven; it is our friend in the desert, our companion in solitude, when bereft of friends; it guides us to happiness; it sustains us in misery; it is our beauty and grace in the company of friends; it serves as an armor against our enemies. With knowledge, the creation of God rises to the heights of goodness and nobility, controls the affairs of this world and attains the perfection in happiness hereafter

–Prophet Muhammad (PBUH)

Wisdom from Quran

Do they not travel through the earth, and see what was the end of those before them? But the home of the hereafter is best, for those who do right. Will ye not then understand? (12:109)

Wisdom from Imams

Live among people in such a way that they weep for you when you die and wish to have your company during your lifetime. Imam Ali (A.S.)