That is a simplistic view of religion and it ignores the obvious. My point to C Clayton was that people do believe and to ignore that reality makes no sense. So my response to you is much the same, religion does exist and to ignore that reality makes no sense.
Taken purely from biological perspective, whenever you find a behavior within a species the assumption must be that it is a benefit to that species. Otherwise, the behavior would not have survived. Religion and government are two behaviors you find in all human societies - at least those above a small clan and even there it will be around in most cases. So the logical assumption is that religion provides a benefit to that society.
IMO, religion is simply another aspect of government. It is a way for the group to identify with each other and provide cohesiveness. Government is a temporary thing, because it is run by human beings who die. Religion, otoh, is theoretically run by immortal being(s). Therefore, it provides stability to government.
And yes, I know a lot of people have been killed in the name of religion. A lot have been killed in the name of government. A lot of people have been killed to see whose butt will sit on a throne, as if that truly matters to most of the people in the society who will never get a glimpse of that butt. People don't kill because of religion or government. They kill because we are our own predator.
I agree partially, seeing religion as a kind of evolutionary advantage, building up group cohesion. But the foundation of that is ignorance, which is understandable considering the level of knowledge at certain times.
Only thing is, todays level of knowledge is in general totally contradicting any kind of religion. So what we miss, and what religikons desperatly try to fill whilst losing ground, is another glue for society.
There are, of course, attempts of non religious power hungry manipulators, as there is communism, ecology and a lot of other -isms to install other top to bottom society frames.
But none of them is rational, as it should be for an enlightened humynity.
That's what is troubling me.