I think that part of the purpose of religion is to motivate people to be better people. So, in practice, it should motivate you to do things that you might not otherwise do, or refrain from things you might otherwise do, in the interest of being a better person. Personally, I don't like other people very much, so religion tends to motivate me to interact with people that I would otherwise not be interested in.
That religion can motivate people to perform questionable moral actions is also a very real possibility. Sometimes the road to hell is paved with good intentions. So we have a responsibility to consider the real moral implications of our religious beliefs by cultivating more than a blind adherence to apparent dogma.
For example, an adherence to strict monotheism might motivate you to deface sites of historical value on the basis that they are expressions of a polytheistic culture. There's a responsibility to ask if you are really doing things that will help to ensure your afterlife or if you are simply blindly following dogma.