First of all, let me point out that this verse has nothing to do with the security of the believer. John is talking about assurance. As God's children, we are in a family. But how can we have the assurance that we are in God's family? He is telling us that assurance comes by keeping His commandments."If we keep his commandments" does not refer to the Ten Commandments. John is not dealing with any legal aspects; he is dealing with family matters. The Ten Commandments were given to a nation, and on these commandments every civilized nation has based its laws. The Ten Commandments are for the unsaved. J. Vernon McGee
(1Jn 3:22) and whatever we ask we receive from Him, because we keep His commandments and do the things that are pleasing in His sight.
(J Ligon Duncan) “Here's how you know that you know God: it's manifested in the way that you live; it's manifested in your obedience.” So, it's very important for us to note that John is not saying that we know God by keeping His commandments. Rather, he is saying, “We know that we know God by keeping His commandments.” Those are two, distinct questions, and we need to keep them distinct. That is, John is not teaching salvation by obedience, nor is he even teaching assurance by obedience; but John is teaching that salvation is evidenced by obedience, and, in turn, that obedience contributes to our assurance.... Compiled by Bruce Hunt-PreceptaustinPosted by: Dr. Robert Bannister