It's funny you mention this and the "god" example, and yet you are an atheist. Can't you make the same argument about the existence of God? It might be unlikely that a God exists, but just in case He does, it is infinitely better to be religious. Because you'd end up in hell otherwise.
(This is not my original idea, it was brought up the first time by Blaise Pascal)