Electra complex classical psychoanalytic theory, the child's identification with the same-sex parent is the successful resolution of the Electra complex and of the Oedipus complex; his and her key psychological experience to developing a mature sexual role and identity. Sigmund Freud instead proposed that girls and boys resolved their complexes differently—she via penis envy, he via castration anxiety; and that unsuccessful resolutions might lead to neurosis. Hence, women and men who are fixated in the Electra and Oedipal stages of their psychosexual development might be considered "father-fixated" and "mother-fixated". As a psychoanalytic term for daughter–mother psychosexual conflict, the Electra complex derives from
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.