The good deeds would decide who's better and who's worse.
I'm going to remember that one.
I am by no means defending religion, but it would be fair to say that nobody acts unselfishly. Take for instance an athiest who donates money to charity. He is not doing so for religious reasons, so you cannot say he is only seeking to make god happy so he can have rewards in the afterlife, because the athiest doesn't believe in that. So you might say his actions have to be selfless. But I don't believe they are. Why would an athiest donate to charity? Because it makes him feel good or because it lets him believe he is helping people who very much need it, and this makes him feel good or lets him believe he is a good person. Yes, his actions are good and they help people who are not him, but I would still tell you that the primary motivation to his actions are about himself, which is selfish. They are about himself before they are about anybody else. This does not make his actions bad, of course. Selfish actions can be good actions; it's not a mutually exclusive situation. So whether you are religious or not, all your actions are selfish if we're being honest about it, and that's ok! But athiests don't get to claim the moral high ground because religious folks only act to for the promise of eternal rewards, which makes them selfish. Athiests act selfishly too, the rewards for them are just different.