I'm not saying that every possible path of evolution leads to religion, only that ours did.
The point was that religion has become a part of our brain. How this happened (evolution, perhaps by accident), was not the important bit.
It isn't evolution, at least not in any genetic sense, it's simply culture. People believe religion is an immutable fact of life and the only possible source of meaning and morality when their culture teaches them as much. But there are cultures where religion matters far less than it does in, say, the US, where people get along just fine.