If someone lives a good life but doesn’t believe in God, do they still not go to heaven?

I’m an atheist but not totally against Christianity and I wanted to know if someone lives a good life and refrains from sinning to the best of their ability but does not accept God, do they actually go to Hell?