The point is that you are taking religion too seriously imho.
It has been (and sometimes still is) a good education method.
After all, you cannot teach scentific theories to most people, as they wouldn't be understood...
Religion has always been a great way to cover the holes in the knowledge, and in many cases also a good veichle to teach morals.
Now, i don't have anything against religions (i don't believe, but i let the others do, my vision of the world is near of kazan's one), but in most cases i despise how organized religions work...
I guess that the human factor does not take logic into account... But on the other side, if we were perfectly logical history would have been really much different...
Everyone is free to believe in what he wants, just keep the zealots far from me...