" In the sexual make-up of many people there is a masochistic component, which has arisen through the conversion of the aggressive, sadistic component into its opposite. Such people are called "ideal" masochists, if they seek pleasure not in the bodily pain which may be inflicted upon them, but in humiliation and in chastisement of the soul. It is obvious that such persons can have counter wish-dreams and disagreeable dreams, which, however, for them are nothing but wish-fulfillment, affording satisfaction for their masochistic inclinations. "
― Sigmund Freud , Dream Psychology: Psychoanalysis for Beginners