But those who keep on sinning are against God, for every sin is done against the will of God. And you know that he became a man so that he could take away our sins, and that there is no sin in him, no missing of God’s will at any time in any way. So if we stay close to him, obedient to him, we won’t be sinning either; but as for those who keep on sinning, they should realize this: They sin because they have never really known him or become his. I John3:4-6 (New Living Translation)
When we stay close to God we can live a life that is pleasing to Him.