The body is a slave, the soul a sovereign, and therefore it is due to Divine mercy when the body is worn out by illness: for thereby the passions are weakened, and a man comes to himself; indeed, bodily illness itself is sometimes caused by the passions.
Seraphim of SarovMore Seraphim of Sarov quotes
The Lord sometimes allows people who are devoted to Him to fall into such dreadful vices; and this is in order to prevent them from falling into a still greater sin-pride. Your temptation will pass and you will spend the remaining days of your life in humility. Only do not forget your sin.
Seraphim of Sarov