I came to the conclusion that religion is just one of the organs in the body of society.
In the Middle Ages and earlier, there were no surveillance cameras, so anyone could do bad things and not get caught.
Or, if you do get caught — what's scarier: 10 years in prison, or eternal, fiery, most terrible torment.
And at some point in the evolution of society, this organ of population control appeared.
People began to fear something that was always watching them and would later punish them with eternal, most terrible torture.
And vice versa — promising eternal happiness if you behave well or 'correctly' (in a way that supports society's survival).
So, it's simply a convenient tool for controlling the masses.
You could also say that in return, belief gives you a constant buff — a comforting illusion or sense of purpose.
So I don't believe in God, or in many other things that lack evidence, foundation, or logic.