It completely depends on your mindset/personality.
If you're the kind of person who rejects any kind of spiritual beliefs/rituals, then obviously religion will not benefit you.
But if your personality is such that you act better or feel more secure believing in something spiritual, obviously you'll feel better being religious.
I don't think there's a simple yes/no answer to this.