1 John 2:1 My little children, these things I write to you, so that you may not sin. And if anyone sins, we have an Advocate with the Father, Jesus Christ the righteous.
John wrote this letter addressing it to fellow saints in Christ, calling them children because they had not long trusted Christ and the Gospel message rather than trusting only in the law of Moses.
He could not get them to stop all sin because we still have our sin nature; but he encourages them to turn away from sin wherever possible.
It is because Christ has given it all and continues to stand between us and God, smoothing the way that we can look forward to eternal life.
Christ has not given up; He is lifting up!