Phallic stage the female aspect of phallic-stage psychosexual development as the feminine Oedipus attitude and the negative Oedipus complex; but his student–collaborator Carl Jung proposed the "Electra complex", derived from Greek mythologic character Electra, who plotted matricidal revenge against her mother for the murder of her father, to describe a girl's psychosexual competition with her mother for possession of her father. Despite mother being the parent who primarily gratifies the child's desires, the child begins forming a discrete sexual identity — "boy", "girl" — that alters the dynamics of the parent and child relationship; the parents become the focus of infantile libidinal
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.