I submitted this reply on a similar topic but believe it's applicable here as well:
The Bible teaches that salvation is not a one time event, but a process. Salvation requires our action (Mk 1:15, 2 Cor 7:10 and many others teach/confirm this) - saying, “The time is fulfilled, and the kingdom of God is at hand; repent and believe in the gospel.” Repentance is a prerequisite for salvation. We must repent of our worldly/sinful ways and commit to God's ways. To repent requires that we know what we are repenting of, our sins, which requires us to know what sin is - what God defines as sin. As 1 Jn 3:4 tells us, sin is the transgression of the law. Ez 18:21 (Acts 17:30) provides us this perspective, “But if a wicked person turns away from all his sins that he has committed and keeps all my statutes and does what is just and right, he shall surely live; he shall not die". Paul tells us in Phil 2:12 to work out our salvation - "Therefore, my beloved, as you have always obeyed, so now, not only as in my presence but much more in my absence, work out your own salvation with fear and trembling", The Messiah confirms all this in Rev 14:12, "Here is a call for the endurance of the saints, those who keep the commandments of God and their faith in Jesus".