That’s in the context of the judgment of the Great White Throne.
Take note of 1 John 3:9, where it says that those “born of God do not sin”.
No one born of God makes a practice of sinning, for God's seed abides in him; and he cannot keep on sinning, because he has been born of God. 1 John 3:9 (ESV)
3:8 is key to understanding v.9.
Whoever makes a practice of sinning is of the devil, for the devil has been sinning from the beginning. The reason the Son of God appeared was to destroy the works of the devil. 1 John 3:8
You also need to understand the context brought to you in vvs 4 and 6.
Everyone who makes a practice of sinning also practices lawlessness; sin is lawlessness. 5 You know that he appeared in order to take away sins, and in him there is no sin. 6 No one who abides in him keeps on sinning; no one who keeps on sinning has either seen him or known him. 1 John 3:4-6
You've made a lot of mistakes on this thread.
“1 John 3:9, where it says that those “born of God do not sin”.
Did Jesus sin when He got angry and flipped over the money changer’s tables?
But before that...
1 John 2:1 niv
My dear children, I write this to you so that you will not sin. But if anybody does sin, we have an advocate with the Father—Jesus Christ, the Righteous One.