The history of the state is also nasty. The history of engineering is also not that glorious, given that it was mostly for war. You can even go to the history of writing...
The question is: what each religion is doing, of harm and good, today. And what we expect they can do tomorrow. On those grounds, you might even be right. But the question is more complex.
(but I agree: the bible does not fit with our values today at all)