Sigmund Freud's views on religion are described in several of his books and essays. Freud regarded God as an illusion, based on the infantile need for a powerful father figure. According to him, religion, necessary to help us restrain violent impulses earlier in the development of civilization, can now be set aside in favor of reason and science.