It's so easy to say 'ditch it', and it will certainly cure a lot of ills. But it's not going to happen, so the best we can do is to try and bring out the positive side of it.
I have good friends who are deeply religious and exceptionally good people. If those were the only type we wouldn't have a problem, but sadly the amount of bigotry which goes with most religious people is frustrating.