Sigmund Freud - bits.

“Only one of the consequences of the process of repression – that of the ideational content not being allowed into consciousness – is undone with the help of negation. The result is a kind of intellectual recognition of the repressed while the essential element of the repression remains in place.”

“The other kind of decision that it is the function of judgement to make – whether or not an imagined thing exists in reality (reality-testing) – is a matter for the reality ego, into which the primal pleasure-ego ultimately evolves. Now the question is no longer whether what is perceived (a thing) should be taken into the ego or not, but whether something already present in the ego, as a mental image, can also be re-discovered in perception (reality).”

Sigmund Freud