Have you ever heard someone say that they aren't exactly sure about heaven or how it works, but they think that maybe if they are a good person and live a good life, they'll get there? Or maybe you've said it.
There are a lot of things that we can't know about the future and the Lord yet, but this is not one of them.
God's word is very clear.
If you've never looked into this, I suggest you open a bible and take a look.
Acts 16:31 says "Believe in the Lord Jesus Christ, and you will be saved." That's pretty straightforward. Believe and you will be saved. No where does it say be happy or successful or friendly. Just believe.
Through believing and putting our faith in Christ, He changes us. He takes our sinful brokenness and makes us new. This transformation may be mistaken as "being a good person"
but Romans 3:22 says "This righteousness from God comes through faith in Jesus Christ to all who believe." Righteousness comes from God. Not from ourselves. He makes us beautiful when we are broken sinners.
Ephesians 2:8 says "For it is by grace you have been saved through faith. It is not from yourself or anything you've done, but the gift of God." We need to lay down our pride, recognize that we can do nothing, and accept the gift of God. The gift that we cannot earn by good deeds or good intentions. It only becomes ours through faith.
We cannot earn our way to heaven.
We can believe and rest in the freedom of Jesus Christ.