Oedipus complex desire (libido) for mother, and aggression towards father, student–collaborator Carl Jung counter-proposed that girls experienced desire for father and aggression towards mother via the Electra complex—derived from the 5th-century BC Greek mythologic character Electra, who plotted matricidal revenge with Orestes, her brother, against Clytemnestra, their mother, and Aegisthus, their stepfather, for their murder of Agamemnon, her father (cf. "Electra", by Sophocles). Moreover, because it is native to Freudian psychology, orthodox Jungian psychology uses the term "Oedipus complex" only to denote a boy's psychosexual development. In classical Freudian psychology the super-ego, "the heir to the Oedipus complex", is formed as the
Psychology of religion modified the Freudian theory and produced a more complex account of the functions of religion. In his book "Psychoanalysis and Religion" he responded to Freud's theories by explaining that part of the modification is viewing the Oedipus complex as based not so much on sexuality as on a "much more profound desire", namely, the childish desire to remain attached to protecting figures. The right religion, in Fromm's estimation, can, in principle, foster an individual's highest potentialities, but religion in practice tends to relapse into being neurotic. According to Fromm, humans need a stable frame of reference. Religion fills this need.