The purpose of religion, according to Dostoyevsky, is to make people avoid killing themselves.
To a large extent, according to Voegelin, this is well nigh done. According to a certain Dostoyevsky character, if people denied the existence of a Transcendent God while at the same time denying they were Gods, they would not fail to kill themselves instantly. Thus Modern Faith, understood here as Liberalism, Materialism, Marxism, Libertarianism, etc... has replaced the Transcedent Christian view with an utopian and immanent form of Gnosticism devoid of metaphysical elements, except for the one that places Man as the center of Himself.
Thus, the main argument FOR the existence of God does not come from the lack of sense-based evidence on the metaphysical, but for the fact that the distorted theories of Modernity are so insane, that even the ancient Gnostics, who were very insane according to all standards, would consider the children of secular materialism and "Science" to be extremely insane. Like the bottom of hell or the loon house.
The goal of God belief and its strictly sociological role, is to take away the tendency of modern doctrines to immanentize the eschaton, recognize the limitations of our ape-like masses and the low capacity of the majority to govern itself and to dictate morality to itself, and place it back on a Supreme Archetype of an abstract character dictating laws that are above mere human bickering, thus cutting away man from the delusion that he will ever be able to change his own condition or dictate his own law to himself.
When I get drunk, my intellectual capacity soars. Lol.