I don't think your qualm is with religion, but with its followers. After all, the Christian doctrine does have some merits and values, the bible alone is just a piece of literature. What people decide to do with that literature and ideals is of their own doing. It's like saying Darwin's 'On the Origin of Species' was a bad book, because it was used to justify Hitler's actions or bring about social darwinism. There are good people and bad people in every religion, including Buddhism. The problem you have is not with religious people, but stupid people that are religious.
Yeah, the whole slaying of babies and injunctions to genocide, witch-killing, and murdering of homosexuals has merit and value. What's that? You didn't even know that stuff was in there? Why am I not surprised?
The reason religion is a problem is because God is conceptualized as the ultimate authority, and as such any evil or injustice is permissible. And the bible--as well as the Quran--is full of such evils and injustices.