After each failure, ask forgiveness, pick yourself up and try again. Very often what God first helps us towards is not the virtue itself but just this power of always trying again. For however important chastity (or courage, or truthfulness, or any other virtue) may be, this process trains us in habits of the soul which are more important still. It cures our illusions about ourselves and teaches us to depend on God.
C.S. Lewis, Mere Christianity