In his book Moses and Monotheism, Freud writes at one point that many people "have a strong need for authority which they can admire, to which they can submit, and which dominates and sometimes even ill-treats them." (Jones trans.)
He goes on to argue that this desire comes down to us in adulthood from the ambivalence many people feel in childhood toward their fathers: at once idealized and feared, the father inspires in many children a mixture of dread—Freud's castration anxiety—as well as a desire to win his approval. And thus, in adulthood, the neurotic individual goes seeking in modern society for a substitute father who will embody these principles—cruel, authoritarian, yet capable of bestowing his mercies on those he deems suitable.