This is what Jesus said to St. Margaret Mary. (She was the saint to whom Jesus manifested his Sacred Heart.)
“One day, on account of some fault which I had committed, my Divine Master gave me the following lesson. Learn, He said, that I am a Holy Master and One that teaches holiness, I am pure and cannot endure the slightest stain. Therefore thou must act with simplicity of heart and with an upright and pure intention in My Presence.”
We shall not enter heaven until we are pure. Any lack of chastity is a spiritual wound which hinders one’s capacity to love persons in a perfect way, and it also reflects inordinate self-love which does the same. It soils our white baptismal garments.
There is no holiness without chastity.
God Bless!