So what does the Bible say about Heaven and who will get there. The answer comes from Psalm 15, or a Psalm of David, "Who Shall Abide in God’s Sanctuary?" David asked: "O Lord, who may abide in your tent? Who may dwell on your holy hill?"
The Lord answers:
"Those who walk blamelessly, and do what is right, and speak the truth from their heart; who do not slander with their tongue, and do no evil to their friends, nor take up a reproach against their neighbors; in whose eyes the wicked are despised, but who honor those who fear the Lord; who stand by their oath even to their hurt; who do not lend money at interest, and do not take a bribe against the innocent. Those who do these things shall never be moved."The subject was addressed again in John 14: 2-3. Here, Jesus said:
"Do not think of trouble. You believe in God. Believe in me also. In my father's house are many rooms. What I tell you is true. I will go there to prepare a place for you. Because I will prepare a place for you, I will come back for you. Where I am you will be also. You know where I am going. You also know the way"Doubting Thomas, a friend of Jesus, said, "Lord, we do not know where you are going. How can we know the way?"
To this Jesus replied, "I am the way. I am the truth. I am the life. Nobody comes to the father except by knowing me"
So the way to Heaven is to believe in Jesus and to live through Him. The way Jesus would live is described in Psalm 14 by David.
Of course it's not possible for us to live exactly the way Jesus did, and so we all make mistakes (i.e. sins) from time to time. Good Christians will feel guilty when they sin, and ask for forgiveness.
This brings us to 1 John 1:9, which states, "If we acknowledge our sins, he is faithful and just and will forgive our sins and cleanse us from every wrongdoing."