Having said that the Son of God appeared and that He appeared in order to, having committed no sin of His own, take away, that is, destroy our sin, he adds: "everyone who sins has not seen Him." If you, he says, when He appeared, saw Him, and as a result of seeing Him received the power not to yield to sin, as being perfectly established in Him, then it is obvious that those who sin have not seen Him, and therefore have not known Him. By seeing Him he means not seeing by a mere glance of the eye or a light reproduction in one's imagination of something known, but an unwillingness to examine an...d investigate the matter at all and to join oneself to Him, as we said above. And having said this, he commands affirmatively: "let no one deceive you." The meaning is this: whoever does righteousness has known the Righteous One and is righteous, just as He, that is, God, is. On the contrary, whoever commits sin is of the sinner, that is, of the devil, for he sins from the beginning. Therefore God, who cares for His creation, being Himself righteousness and holiness, revealed Himself, that is, appeared in the world, in order to destroy the works of the devil.
Source: Commentary on 1 John