But now he has appeared once for all at the end of the ages, to do away with sin by the sacrifice of himself
Heb9:26
You are right, sin is the transgression of the law, so what could the writer of Heb be telling us in the above text?
Heb.9
[26] For then must he often have suffered since the foundation of the world: but now once in the end of the world hath he appeared to put away sin by the sacrifice of himself.
Could the above mean that sin is TOTALLY taken away? Is there no more sin in the world? Who is it that God is returning to punish? SINNERS!
So what was the sin that was taken away in the above verse?
John 1
[29] The next day John seeth Jesus coming unto him, and saith, Behold the Lamb of God, which taketh away the sin of the world.
When Christ died He made it possible for us to attain salvation. If we believe in Him and His blood, we will not have to shed our blood for the remission of sins.
Sin, the breaking of God's laws, as we know are still here. That is why we do not go back to doing those things we used to do before coming into the word of God. Because we know God's laws and we know what is right in His sight and what is wrong.
.