Imam explains the matter in his famous book "an exposition on Forty Hadith" as following:
Therefore, free yourself from the ignominy of ignorance and the disgrace of petty-mindedness; acquire the attributes of the prophets and shed the qualities of Satan.
Do not contend with your God regarding His mantle of Pride and Glory, as His wrath will subdue the contender and he will fall on his face into hell-fire.
If you make up your mind for rectifying your self, the way to do so is also easy if you are somewhat persevering. You will not encounter any peril on this way if you move with manly resolve, freedom of thought, and high-mindedness.
The only way of overpowering your carnal self and repelling the insinuations of Satan is to act against their incitements.
No other way is better for crushing the desires of the self as adopting the traits and qualities of the modest and following their behavior and character. In whatever stage of pride you may be, and to whatever scientific or professional field you belong, you are advised to act against the inclinations and desires of the self. By discovering and meditating about this-worldly and other-worldly consequences of pride, it is hoped, your journey will become easier and you will reach the desired goal.
More articles:
Imam forged great Islamic alliance and establishing Islamic Ummah
If your self wishes that you should take the seat of chairmanship of the gathering or to take precedence over your colleagues and equals, you should act against its desire, Imam further explains.
If your self incites you to refrain from joining the company of the poor and indigent, admonish it severely and resolutely go and sit in their company, dine with them and travel with them.
It is possible that your inner self would try to prevent you by arguing that you are a person of a higher position and that it is essential to keep up your esteem and dignity for the sake of the propagation of the Shari’ah, that sitting with the poor will undermine your respect in society, that humor with the subordinates will be injurious to your authority, that occupying a lowly place in gatherings will affect your status and then you will not be able to perform your religious duties properly... and so on.
Be certain that all these are guiles of the Devil and wiles of the self. You have read and heard about the behavior and character of the Holy Prophet (S), whose worldly position was incomparably superior to you.
Read more:
Imam Khomeini explained effect of worship on youth