The Interpretation of Dreams by Sigmund Freud Chapter 8 Page 43

Among these indestructible and unincumbered wish feelings originating from the infantile life, there are also some, the fulfillments of which have entered into a relation of contradiction to the end-presentation of the secondary thinking. The fulfillment of these wishes would no longer produce an affect of pleasure but one of pain; and it is just this transformation of affect that constitutes the nature of what we designate as “repression,” in which we recognize the infantile first step of passing adverse sentence or of rejecting through reason. To investigate in what way and through what motive forces such a transformation can be produced constitutes the problem of repression, which we need here only skim over. It will suffice to remark that such a transformation of affect occurs in the course of development (one may think of the