As someone who isn't particularly religious, but grew up in a religious household, and as someone married to a very religious person (different religions), I believe it's all about outlook.
Religion tends to give you several quite positive beliefs about the world that aren't entirely logical. Things like karma, the golden rule, belief in a plan, etc.
Generally speaking I also believe that religious people are more willing to trust and forgive. These are all pretty positive things.
And finally I believe religious people have a higher sense of duty to others, but the better term is probably responsibilism.