How does Freud's psychoanalytic theory influence literary criticism?

Influence on literary criticism:

Freud believed that literature and dreams are also inextricably linked. The writer's creative imagination is equivalent to daydreaming's. The imaginary kingdom is a refuge. It exists because people have to give up some instinctive needs in real life and have to painfully return from hedonism to realism.

This refuge was established in this painful process. Therefore, an artist, like a psychopath, retreats from a reality that he is not satisfied with and plunges into the world that he imagines and creates. His works, like dreams, are all subconscious desires for the satisfaction of an illusion. Moreover, it is essentially a compromise and sublimation like a dream, which means that we get rid of the sexual desire color in our instinctive desires and let these energies vent in a way that can be accepted by society. Literary creation is actually a process of sublimation.

Freud's theory:

Freud's early theory divided people's spiritual life into two main parts: consciousness and subconsciousness, and thought that consciousness was not important, excluding people's primitive and animal instinctive desires. The subconscious part is the deep foundation of people's spiritual life, which hides all kinds of endless instinctive impulses and insatiable desires, and plays a decisive role in people's whole spiritual activities and even all their behaviors.

However, his later theory was slightly modified. He divided people's psychological structure into three parts: id, ego and superego. "Id" contains all primitive genetic instincts and desires, the most fundamental of which is sexual impulse, which provides strength for all kinds of instinctive impulses and desires and is the foundation and source of people's whole spiritual activities.