The Apostle repeats his speech several times, so that through abundant and frequent reproofs he might present to them the full gravity of the transgression and incline them to confession. How great a good is born from confession can be seen from the following words: "declare thou" thy sins, "that thou mayest be justified" (Isa. 43:26); and that a teacher frequently repeats the same thing to a beginning student, first briefly, then more extensively, in order to impart clearer knowledge — this is a common practice. God, says the Apostle, "is faithful." This is the same as saying He is true; for ...the word "faithful" is used not only of one to whom something is entrusted, but also of one who is himself most faithful, who by his own faithfulness can make others such as well. In this sense God is faithful, and He is "righteous" in the sense that He does not drive away those who come to Him, however sinful they may be (John 6:37). Therefore, to those who through repentance have recourse to holy baptism, He undoubtedly forgives sins, even if they have sinned against Him and against others. If, he says, we confess, then we shall receive forgiveness corresponding to our confession. But if we shamelessly say that we have not sinned, then we commit a twofold evil: we show ourselves to be liars and we utter blasphemy against God. For He says through the prophet: "they rewarded me evil for good" (Ps. 35:12), and He Himself personally: "if I have spoken evil, bear witness of the evil; but if well, why do you strike me?" (John 18:23). If even after this we say that we have not sinned, then we reject His words, which are spirit and life; for it is said: "the words that I speak unto you, they are spirit, and they are life" (John 6:63).
Source: Commentary on 1 John