If you think religion was invented by humans then you have a paradox that it must have been invented by atheists. If you think religion is real then there is no paradox of how it started: God or gods revealed it.