The scenario you've outlined in called Pascal's Wager, but it falls down immediately because it's not a choice between one particular religion and atheism, but countless different religions and atheism. And in fact, if I were a god, I don't think I'd want people to believe in me just out of fear of hell. I'd want them to believe in me without any such threat.