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.
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.
Where poverty of spirit is perceived, there is also the sorrow that is full of joy. There are the everflowing tears that purify the soul that loved these things and cause it to be completely filled with light. By these means the soul looks upward and recognizes its Master.
Those who have acquired genuine prayer experience an ineffable poverty of the spirit when they stand before the Lord, glorify and praise Him, confess to Him, or present to Him their entreaties. They feel as if they had turned to nothing, as if they did not exist. That is natural. For when he who is in prayer experiences the fullness of the divine presence, of Life Itself, of Life abundant and unfathomable, then his own life strikes him as a tiny drop in comparison to the boundless ocean. That is what the righteous and long-suffering Job felt as he attained the height of spiritual perfection. He felt himself to be dust and ashes; he felt that he was melting and vanishing as does snow when struck by the sun's burning rays (Job 42:6).