Religion is an attempt to get control over the sensory world, in which we are placed, by means of the wish-world, which we have developed inside us as a result of biological and psychological necessities... If one attempts to assign to religion its place in man's evolution, it seems not so much to be a lasting acquisition, as a parallel to the neurosis which the civilized individual must pass through on his way from childhood to maturity.
"New Introductory Lectures on Psycho-analysis". Book by Sigmund Freud (Lecture 35 "A Philosophy of Life"), 1933.