The Tang generals Qin Shubao and Weichi Gong are the first gods in the world. Although Qin Shubao and Weichi Gong were from the Tang Dynasty, the earliest extant documents that recorded them as door gods are The Two Generals of Door Gods in The Three Religions' Sounding the Gods in the Yuan and Ming Dynasties, and The Book of Sounding the Gods in Daozang: "According to legend, Emperor Taizong threw bricks and tiles outside the door when he didn't go to bed, and ghosts wailed, and there was no peace in the sixth courtyard and three palaces at night. Emperor Taizong was afraid to tell his ministers. Uncle Bao said, "I've killed people all my life, and I've accumulated corpses and ants. Why are you afraid of imps?" I am willing to wait with Jingde in uniform. " Emperor Taizong can play it, but there is no police at night.
Taizong Jiazhi said that the two men stayed awake, because they were ordered to draw portraits of them, all filled with anger, hanging in the left and right doors of the palace, as usual, and the evil spirits died. Later generations follow it, and it will always be a door god cloud. "The story was written into The Journey to the West, so it spread more widely. The Journey to the West also said: "The back door is uneasy, and it is time for Wei Zhi to guard it." So Wei Zhi also became a keeper. Wei Zhi's portrait of the keeper often has the words "Town House" and "Blessed God", so it is called "Blessed God Wei Zhi".
Extended information:
Since then, people have followed suit, and Qin Shubao and Weichi Gong have become "door gods". It evolved into a wooden New Year picture in the Song Dynasty. Later, people rushed to follow suit, and after several evolutions, they formed their own unique style, which is today's New Year pictures. The earliest existing New Year picture in China is the Song version of A Beautiful Picture of the Country with the DPRK. In addition, some doors are painted with opera stories, Wu Caishen, chickens, cats and other animals.
People's Daily Online: It's not just Qin Shubao and Weichi Gong who have regained their memory!
people's network: the origin and evolution of door gods.