God saved you by his grace when you believed. And you can't take credit for this; it is a gift from God. Salvation is not a reward for the good things e have done, so none of us can boast about it.
2 Corinthians 5:21
For God made Christ, who never sinned, to be the offering for our sins, so that we could be made right with God through Christ.
If you openly declare that Jesus is Lord and believe in your heart that God raised him from the dead, you will be saved. Fo for it is by believing in your heart that you are made right with God, and it is openly declaring your faith that you are saved.
What is preventing YOU from knowing God?