That's what the blood of Christ does for those who choose to accept the marvelous gift Jesus provided when He died upon the cross for mankind.
Anyone who chooses to do 1 John 1:7-2:2 can have their record expunged so that on the day when we stand before God, our Heavenly Father, all sins we've committed, sin which would separate us from God, is ........ EXPUNGED!
Oh what a great salvation. Jesus is the only legal advocate who can expunge our sins eternally.
1 John 1:7 - 2:2
But if we walk in the light as He is in the light, we have fellowship with one another, and the blood of Jesus Christ His Son cleanses us from all sin. If we say that we have no sin, we deceive ourselves, and the truth is not in us. If we confess our sins, He is faithful and just to forgive us our sins and to cleanse us from all unrighteousness. If we say that we have not sinned, we make Him a liar, and His word is not in us. 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. And He Himself is the propitiation for our sins, and not for ours only but also for the whole world.