Psychosexual development unusually submissive woman (low self-esteem). In a boy, a phallic-stage fixation might lead him to become an aggressive, over-ambitious, vain man. Therefore, the satisfactory parental handling and resolution of the Oedipus complex and of the Electra complex are most important in developing the infantile super-ego, because, by identifying with a parent, the child internalizes morality, thereby, choosing to comply with societal rules, rather than having to reflexively comply in fear of punishment. The fourth stage of psychosexual development is the latency stage that spans from the age of six years until puberty, wherein the child consolidates the character habits he
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.