God does not weigh your good deeds against your bad deeds. Neither does He care if you attended church or went through some sort of religious ritual. He does not even take into account that you might call yourself a Christian, or think that because your parents were Christians, you are too. The penalty for sin is death. Spiritual death is the result of sin because man is separated from God by his sin.
Physical death is also a result of sin.
When the first man and woman whom God had created sinned, the world was changed. Sin brought death to the world, and a curse upon all of creation. Jesus, who is called the Son of God, and who is God, chose to come to earth in the form of a man. No longer do we have to be separated from God eternally. We can live during and after this life, with and for God.