It is important to live a good life. A life where happiness follows you, where you help others in need and make the world a better place. God loves those who live a moral life, but that is not enough. We cannot enter heaven through acts alone, we must have faith and declare Jesus Christ as Savior. Because it is only through the Son that we have eternal life.
John 14:6 -- "Jesus told him, “I am the way, the truth, and the life. No one can come to the Father except through me."