According to Freud's psychoanalytic theory, all psychic energy is generated by libido. Freud suggested that our mental states were influenced by two competing forces: cathexis and anticathexis. Cathexis was described as an investment of mental energy in a person, idea, or object.