1 John 3:7-8

3:7 Little children, let no one deceive you: The one who practices righteousness is righteous, just as Jesus is righteous. 3:8 The one who practices sin is of the devil, because the devil has been sinning from the beginning. For this purpose the Son of God was revealed: to destroy the works of the devil.

1 John 2:29

2:29 If you know that he is righteous, you also know that everyone who practices righteousness has been fathered by him.