Then a better example should be used. I was going to buy the book, but upon thumbing through its pages the author, like other atheist authors, routinely anthropomorphize God or used concepts of God that makes them vulnerable to their criticisms. Doing so destroys their credibility. Concepts of God in the likes of what Plotinus, for example, offers aren't so vulnerable to their attacks.
Back to the topic. There is no doubt in my mind that religion is a by-product of evolution, as is the God-concept. Much of what passes for religion in the world today isn't. As far as I'm concerned, Dawkins, Dennet, etc., do religion a favor by acting as a refiner's fire. The shame of it is that onlookers think discrediting those religions that deserve it discredits all religion when in fact it's just evolution weeding out the unfit.