Because we have all sinned against a perfectly holy and righteous God, we all deserve eternal separation from God in hell (Rom. 6:23). However, God loves us so much that He sent His only Son Jesus to die on the cross as our Substitute. Christ died on the cross for our sins, was buried, and rose from the grave (1 Cor. 15:3-4). The Bible is clear that salvation is not by our good works. The only condition for receiving everlasting life is to believe in Jesus for that free gift! It really is that simple.
"Verily, verily, I say unto you, He that believeth on me hath everlasting life" (John 6:47).