I think @mipmip got my point.
.
Religiousness is (not always, but quite often) inherited, esp. in more conservative societies. If an inheritable trait turns out to be a successful one, sooner or later a major part the population would exhibit it. Thus, since most of the world's population is now religious, and subscribing to a religion is an inheritable trait, I would assume it is a successful one, and religiousness is evolutionarily selected for. Whether or not god actually exists 'sgot nothing to do with it, I'm talking numbers here.