This 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.
In context
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. 11For this is the message you heard from the beginning: that we should love one another. 12We must not be like Cain, who belonged to the evil one and murdered his brother. And why did he murder him? Because his own deeds were evil, and his brother’s were righteous.