Religion is evil - It is the single largest cause of death through the time mankind has existed.
Unfortunately, I cant think of anything that could have filled the void. The masses need something to believe in - so that they can say "everything happens for a reason".
So - its a necessary evil.