It's not really religion that's the problem, it's the people in authority who interpret religion to suit their own ends: whether it's to justify the murder of non-believers, or the abuse of altar boys, or the repression of women, or the defrauding of their congregation - it all boils down to the corrupt humans who put themselves in charge of it. Religion on its own is just an idea.