The defensive maneuvers in neurosis can be broken down into 2 general categories, the inhibitory and the reparative. Inhibition leads to restricted function and to symptomformation. Repair strives for the gratification that has been impounded by inhibition and can be either healthy or magical in its integration. Healthy repair consists of resolution of the neurotic conflict, removal of the inhibition, and restoration of healthy function. Magical repair, on the other hand, attempts to obtain the gratification without undoing the inhibition that stands in the way. It involves faulty substitution and displacement to maladaptive goals. Inevitably, these attempts only sharpen the repressed conflict between the motivating wish and the fear of the consequences. The end result is both the intensification of old symptoms and the formation of new ones.
It is the rare patient who at some point in a psychotherapy does not resort to the wish
KARUSH A, OVESEY L. Unconscious Mechanisms of Magical Repair. Arch Gen Psychiatry. 1961;5(1):55-69. doi:10.1001/archpsyc.1961.01710130057007