In the Name of Allah, the Beneficent, the Merciful
It was related to the Messenger of Allah the following: "Two hungry wolves do not do so much havoc to a flock of sheep as greed and desire and glory do to one's religion."
The glory means the presidency, leadership, and fame among people; and it is a test which a Muslim person might be examined by through life, so many fail in it and other succeed. Hence, it might be fruitful and booty for the hereafter for some, or a bane to it.
The afterlife corruption
The previous story that was related to the Prophet (peace be upon him and his household) had illustrated how the glory corrupts the man's religion; hence the corruption is the "love of glory".
It was mentioned about Imam Al-Sadiq (A.S.) when he said recited the following verse: ﴾(As for) that future abode, We assign it to those who have no desire to exalt themselves in the earth nor to make mischief And the good end is for those who guard (against evil)﴿ (Al-Kacac: 83), he started crying and said: "I swear by God that these hopes went away after reading this verse", so someone asked him: "For you sake, in this world, what is the limit of asceticism?" Imam (A.S.) replied: in his holy book, God Almighty explain for us this by stating: ﴾So that you may not grieve for what has escaped you, nor be exultant at what He has given you﴿ (Al-Hadeed: 23). Therefore, the interaction with the presidency and feeling happy if it happened and greeting it, or feeling sad and upset if it ran away, contradicts the characteristics of the pious and exceeds the limits of the asceticism.
When the people met to pledge allegiance to The Commander of the Faithful (A.S.), he said: "Behold, by Him who split the grain (to grow) and created living beings, if people had not come to me and supporters had not exhausted the argument and if there had been no pledge of Allah with the learned to the effect that they should not acquiesce in the gluttony of the oppressor and the hunger of the oppressed I would have cast the rope of Caliphate on its own shoulders, and would have given the last one the same treatment as to the first one. Then you would have seen that in my view this world of yours is no better than the sneezing of a goat."
Hence, the presidency is nothing more than performing a duty; otherwise, it has no meaning.
"When the soul that likes the presidency extends the banner among a part of the world, it will not be satisfied by it, but it will like to dominate on the rest of the worlds. This miserable soul doesn't know that the instinct looks for another thing; the mountainous passion is just oriented toward the only Loved Allah; all the basic, natural and voluntary movements and the heart orientations, and the psychological tendencies are oriented just to the beauty of Allah Almighty. But they don't know this, so they deviate with this love, passion, and yearn to a way that is contradictory to it, so they free it and limit it without any benefit." Imam Khomeini (May his secret be sacred) stated.
The glory for Fulfilling the Needs
It was related to the Messenger of Allah (peace be upon him and his household): "God Almighty in the day of resurrection will ask the slave for his glory as He ask for his money, so He say: O my slave, did you help any aggrieved person, or did you relieve any yearning one by the glory that I bestowed upon you"!. Hence, glory is one of the means of performing the commandment, which of one is to fulfill the needs of the believers.
It was related to the Mofdel about Abi Abd Allah (A.S.) the following: "He said: O Mofdel, pay full attention to what I will tell you, and be sure that this is the right and work by it, and inform your brothers about it. Mofdel replied: For your sake, which brothers? Abi abo Abdellah replied? Those who like to fulfill the needs of their brothers. The Prophet Mohammad said: "He who fulfills a need for his brother, in the day of resurrection, God Almighty will fulfill for him 100 thousands need, among which is being in the heaven with his relatives and brothers who are not swindlers".
Eventually, all praise is due to Allah, the Lord of all the worlds.