Will Durant said this quote

[R]eligion arises not out of sacerdotal invention or chicanery, but out of the persistent wonder, fear, insecurity, hopefulness and loneliness of man.