When a boy develops sexual desires for his mother and harbour a hatred for his father because he sees him as a rival for the mother's love, however he fears his father will punish him (castration anxiety) for his lust for his mother and thereby represses these feelings and identifies with his father in the process, internalising his gender role and moral values