One of the Fathers said: just as it is impossible for a man to see his face in troubled water, so too the soul, unless it be cleansed of alien thoughts, cannot pray to God in contemplation.
If we want to do something but cannot, then before God, Who knows our hearts, it is as if we have done it. This is true whether the intended action is good or bad.
The Lord commands all men to repent (Matt. 4:17), so that even the spiritual and those making progress should not neglect this injunction and fail to give attention to the smallest and most subtle errors.
There is a sin which is always 'unto death' [1 Jn 5:16]; the sin which we have not repented. Even a saint's prayers will not be heard for the unrepented sin. The person who repents correctly does not imagine that his sins are cancelled through his own effort; but knows that through this effort he makes peace with God.
When tested by some trial you should try to find out not why or through whom it came, but only how to endure it gratefully, without distress or rancor.
The abstinent withdraws from gluttony, the uncovetous from covetousness, the silent from wordiness, the pure from attachment to sensory pleasures, the chaste from fornication, he who is content with what he has from love of money, the meek from agitation (anger), the humble from vanity, the obedient from objection, he who is honest with himself from hypocrisy; equally, he who prays withdraws from despair, the willing pauper from acquisitiveness, he who professes his faith from denying it, the martyr from idolatry – so you see that each virtue, performed even unto death, is nothing but withdrawal from sin; and withdrawal from sin is a natural action, not an action which could be rewarded by the kingdom.