We truly love God and keep His commandments if we restrain ourselves from our pleasures. For he who still abandons himself to unlawful desires certainly does not love God, since he contradicts Him in his own intentions. . . Therefore, he loves God truly, whose mind is not conquered by consent to evil delight. For the more one takes pleasure in lower things, the more he is separated from heavenly love.
You must set about rooting out the very desire to have things pleasant, to get on well, to be contented. You must learn to like sadness, poverty, pain, hardship. You must learn to follow privately the Lord's bidding: not to speak empty words, not to adorn yourself, always to obey authority, not to look at a woman with desire, not to be angry and much else. For all these biddings are given us not in order for us to act as if they did not exist, but for us to follow: otherwise the Lord of mercy would not have burdened us with them. If any man will come after me, let him deny himself, He said (Matthew 16:24), thereby leaving it to each person's own will-if any man will-and to each person's endeavor: let him deny himself.
We ought not to grieve or become irritated at anything because, by frequent vexation and irritability, we form the morally and physically very injurious habit of irritability, whilst by bearing opposition with equanimity we form the good and useful habit of enduring everything calmly and patiently.
You ask for some way of completely eradicating irritability. The inclination to irritability is given us to use against sin, and we were never meant to use it against our fellow men. When we do, we act contrary to our true nature.
Almost every sin is committed for the sake of sensual pleasure; and sensual pleasure is overcome by hardship and distress arising either voluntarily from repentance, or else involuntarily as a result of some salutary and providential reversal.