Sigmund Freud viewed religion as an illusion based on infantile desires for a powerful father figure. He believed that religion was necessary early in civilization to restrain violent impulses, but can now be set aside in favor of reason and science. Freud saw religion as comparable to a childhood neurosis, arguing it was an attempt to control the world through wishes developed due to biological and psychological needs. He asserted religion derives its strength from fulfilling innate desires and should cease being used to justify the precepts of civilization.