I think that is God definition for sin. As long as we remain in God’s words and are faithful to him, we don’t have sin. Even if we make mistakes, I think it all can be forgiven, as long as we don’t reject God. I think that is one line with this also:
He who does righteousness is righteous, even as he is righteous. He who sins is of the devil, for the devil has been sinning from the beginning. To this end the Son of God was revealed, that he might destroy the works of the devil. Whoever is born of God doesn't commit sin, because his seed remains in him; and he can't sin, because he is born of God. In this the children of God are revealed, and the children of the devil. Whoever doesn't do righteousness is not of God, neither is he who doesn't love his brother.
1 John 3:7-10
I have understood that God’s seed is His word.
Also it is said:
For a righteous man falls seven times, and rises up again; But the wicked are overthrown by calamity.
Pro. 24:16
Obviously the goal should be to avoid doing things that are against God’s will, but as long as person doesn’t reject God, I think person has no sin. But what about the whole Law of Moses. Jesus said:
"Don't think that I came to destroy the law or the prophets. I didn't come to destroy, but to fulfill. For most assuredly, I tell you, until heaven and earth pass away, not even one smallest letter or one tiny pen stroke shall in any way pass away from the law, until all things are accomplished. Whoever, therefore, shall break one of these least commandments, and teach others to do so, shall be called least in the Kingdom of Heaven; but whoever shall do and teach them shall be called great in the Kingdom of Heaven.
Mat. 5:17-19
According to the Bible, eternal life is for righteous and on basis of the previous scripture, person may get into the Kingdom of Heaven, even if he has not perfectly obeyed the Law of Moses. So it means, person can be righteous, even if he has not obeyed perfectly the law of Moses. But still, I believe the Law is good and it would be wise to obey it. And good reason to obey it is that person loves God, bad reason is if one thinks that by so he can buy life.
And it is also good to notice, when God made covenant with Moses, it was the ten commandments that were the condition for the promises. So I think they are the important thing as I think also Jesus teaches.
Yahweh said to Moses, "Write you these words: for in accordance with these words I have made a covenant with you and with Israel." He was there with Yahweh forty days and forty nights; he neither ate bread, nor drank water. He wrote on the tablets the words of the covenant, the ten commandments.
Exodus 34:27-28
And if one day you are without sin, don’t think that because of that you deserve eternal life, or gifts from God, because being without sin should be the normal, not something that people try to be to gain a wage. Wage of sin is death, but there is no wage for being righteous. If for example person doesn’t murder only because he tries to gain eternal life, he is probably not righteous, because righteous doesn’t murder because he understands it is wrong. That is how I understand it.
That is really nice to hear. I believe you will understand it eventually, don’t worry about it.