Freud was an influential atheist.
He was suspicious of government and its herd mentality.
Sigmund Freud was born in Příbor, Moravia in what was then the Austrian Empire, but grew up mostly in Vienna, Austria. He died of a physician's assisted suicide in 1939 at the age of 83 while suffering from cancer.
Freud was one of the most influential modern atheists. Although he grew up Jewish, and continued to find identity in his Jewish heritage throughout his life, he treated religion mostly with complete disdain.
Religion was the focus of four books by the father of psychoanalysis, and his words were not gentle. He viewed religion as "the universal neurosis," a fulfillment of the "longing for a father," and an "illusion" that fulfills an "instinctual desire." In his 1930 book, Civilization and Its Discontents, he described religion as an embarrassing product of humanity:
The whole thing is so patently infantile, so foreign to reality, that to anyone with a friendly attitude to humanity it is painful to think that the great majority of mortals will never be able to rise above this view of life.
But with all his criticisms of religion, he wasn't quite so harsh towards the religion of his childhood. In his last book, Moses and Monotheism, he says that Judaism, as opposed to other religions, through of its focus on an invisible God, could be a path to introspection and self-knowledge–the ultimate goal of his own theory of psychoanalysis.
But that late-life sympathy toward Judaism shouldn't serve to de-emphasize his position as a staunch and defiant atheist.
Wolves and Sheep
Freud's experience of totalitarian government was intimate. At the end of Freud's life, the Nazis rolled through Vienna and forced the frail old man out of his home and out of the country. His view of Hitler and other tyrants fit snugly with his theory of the human psyche. He argued that absolute rulers take the place of the super-ego, or the moral authority, in the subconscious which allows for a brutal group mentality, e.g. Nazi Germany.
You might think that would endear Freud to the U.S. where rugged individuality reigns, but he found the country unbearable. He despised Americans' lack of manners, prudity, and inhibitions. He said it was a "gigantic mistake":
America is the most grandiose experiment the world has seen, but, I am afraid, it is not going to be a success.
Freud was potentially a "political pessimist" who believed that politics was only a road to suppression of a healthy internal debate–possibly an anarchist? Or he could have been promoting a view that the only positive political path was an uncomfortable one rife with disagreement, conflict, and debate–pro-Democracy? Libertarian? Either way, to Freud, governments were dangerous business.
And ironically, his own theories of the mind helped proved his theory of government true. His nephew, Edward Bernays, used Freud's concept of the subconscious to develop a theory of public relations that relied not on trying to persuade through rational argument, but rather through appeal to our subconscious desires. His Freud-inspired theories were (and still are) employed by countless politicians and political machines–most disturbingly by Nazi propagandist Joseph Goebbels. A sad irony indeed.