1 John 2:4

2:4 The one who says “I have come to know God” and yet does not keep his commandments is a liar, and the truth is not in such a person.

1 John 3:24

3:24 And the person who keeps his commandments resides in God, and God in him. Now by this we know that God resides in us: by the Spirit he has given us.