There is something that most atheist critiques of religion have failed to internalize. If there is no god, and there never has been, then religious practice is also a secular practice. Dan Dennett wrote a whole book about how religion is a natural phenomena but he didn't capture an insight that I found in Alain de Botton's book about religion for atheists.
Everything that every religion has done, they have done for natural reasons and with natural outcomes. Not all of those reasons and outcomes are bad, far from it. And I think being an atheist would be a little less difficult and a little less limiting if we realized that religious practice is human practice. Imagine if you will what a church would be like if you knew for sure that no one believed.
Religious people will tell you that what they do they do because of God, or because of scripture, or faith, or whatever supernatural reasons they believe in. But remember that this is not true, their god isn't there pulling the strings. When they give to charity it is because they are charitable. When they discriminate it is because they are bigoted. When they do violence it is because they are violent. And their religious practice plays a role.
But their god does not.