God didn't create humans. Humans created god.
In recent years scientists specializing in the mind have begun to unravel religion's "DNA." They have produced robust theories, backed by empirical evidence that support the conclusion that it was humans who created God, not the other way around.
Like our physiological DNA, the psychological mechanisms behind faith evolved over the eons through natural selection. They helped our ancestors work effectively in small groups and survive and reproduce, traits developed long before recorded history, from foundations deep in our mammalian, primate and African hunter-gatherer past.