Sigmund Freud said this quote
“ Religion has clearly performed great services for human civilization. It has contributed much towards the taming of the asocial instincts. But not enough. It has ruled human society for many thousands of years and has had time to show what it can achieve. If it had succeeded in making the majority of mankind happy, in comforting them, in reconciling them to life and in making them into vehicles of civilization, no one would dream of attempting to alter the existing conditions. But what do we see instead? We see that an appallingly large number of people are dissatisfied with civilization and unhappy in it, and feel it as a yoke which must be shaken off; and that these people either do everything in their power to change that civilization, or else go so far in their hostility to it that they will have nothing to do with civilization or with a restriction of instinct. At this point it will be objected against us that this state of affairs is due to the very fact that religion has lost a part of its influence over human masses precisely because of the deplorable effect of the advances of science. We will note this admission and the reason given for it, and we shall make use of it later for our own purposes; but the objection itself has no force.It is doubtful whether men were in general happier at a time when religious doctrines held unrestricted sway; more moral they certainly were not. They have always known how to externalize the precepts of religion and thus to nullify their intentions. The priests, whose duty it was to ensure obedience to religion, met them half-way in this. God's kindness must lay a restraining hand on His justice. One sinned, and then one made a sacrifice or did penance and then one was free to sin once more. Russian introspectiveness has reached the pitch of concluding that sin is indispensable for the enjoyment of all the blessings of divine grace, so that, at bottom, sin is pleasing to God. It is no secret that the priests could only keep the masses submissive to religion by making such large concessions as these to the instinctual nature of man. Thus it was agreed: God alone is strong and good, man is weak and sinful. In every age immorality has found no less support in religion than morality has. If the achievements of religion in respect to man’s happiness, susceptibility to culture and moral control are no better than this, the question cannot but arise whether we are not overrating its necessity for mankind, and whether we do wisely in basing our cultural demands upon it. ”