How can one say that a man has attained purity? - When he sees all men as being good, and when none appears to him to be unclean and defiled - then he is indeed pure in heart.
The most important thing during illness is to offer to God patience and thanksgiving for His merciful visitations. Sickness purifies sins and gives one time to meditate on the past.
Blessed are the pure in heart, for they shall see God. Everything we do, our every objective, must be undertaken for the sake of this purity of heart. This is why we take on loneliness, fasting, vigils, work, nakedness. For this we must practice the reading of the Scripture, together with all the other virtuous activities, and we do so to trap and to hold our hearts free of the harm of every dangerous passion and in order to rise step by step to the high point of love.
Compunction comes when you consider how much you have grieved God Who is so good, so sweet, so merciful, so kind, and entirely full of love; Who was crucified and suffered everything for us. When you meditate on these things and other things the Lord has suffered, they bring compunction.
Those who meditate unceasingly upon the holy and glorious name [of Jesus] in the depths of their heart can sometimes see the radiance of their own spirit-intelligence. For when the mind is profoundly concentrated on this invocation, we feel experientially how it starts burning off all the layers of dirt that normally suffocates the soul.
The way to attain compunction is an attentive life. ‘The beginning of repentance comes from the fear of God and attention,’ as the holy martyr Boniface says.