Whoever sins belongs to the devil, because the devil has been sinning from the beginning. This is why the Son of God was revealed: to destroy the devil’s works.
In context
6No one who remains in him keeps on sinning. No one who keeps on sinning has seen him or known him. 7Dear children, let no one deceive you. Whoever does what is right is righteous, just as he is righteous. 8Whoever sins belongs to the devil, because the devil has been sinning from the beginning. This is why the Son of God was revealed: to destroy the devil’s works. 9No one who has been born of God keeps on sinning, because God’s seed remains in him; he cannot keep on sinning, because he has been born of God. 10This is how the children of God and the children of the devil become obvious: whoever does not do what is right is not of God, and neither is whoever does not love his brother or sister.