This view is consistent with the psychoanalytic theory.
Created by Sigmund Freud in the 19th century, psychoanalytic theory researches the development of a person's personality through the interactions of three structures of the mind: id, ego, and superego. According to this theory, even toilet training can lead to personality problems in the future if taught wrongly.