In the font of holy baptism, man is washed both from ancestral sin and from all sins committed before baptism. Yet he is not freed from the inclination to sin. As long as we bear this corruptible and sinful body, we must always struggle against sin and flee from it by every means.
To help us in the struggle against sin, Jesus Christ, as the good Shepherd who knows His sheep, established saving Mysteries. Besides baptism, which introduces us into the life of grace, He established the Mysteries of repentance, Communion, and others.
For the same reason the Lord also gave the commandment to pray always: "And forgive us our debts." Humble and contrite prayer is a necessary condition for receiving the gifts of grace, acquired for us at the price of the redeeming merits of Jesus Christ.
Therefore, if someone says that he has no sin, or that he has not sinned, he speaks against the truth revealed to us in Holy Scripture. He speaks in a way that does not agree with the teaching and ordinances of the Lord and Savior.
His words suggest that Jesus Christ taught us in vain to ask the heavenly Father in prayer for the forgiveness of our sins. They suggest that the Mystery of repentance was established in vain, or that he has no need of it.
Whoever considers himself sinless is in self-deception. Pride and self-conceit have blinded his mind and heart. He neither sees nor feels his infirmities, because the word of God is not in him. That is, through his self-conceit and pride, he either does not understand or does not receive the teaching of God's word. Grace, or the gift of gracious understanding, is not communicated to his soul, because God resists the proud (1 Pet 5:5).