Thượng Temple worships five deities: Văn Xương Đế Quân, Phục Ma Đại Đế (Quan Công), Kim Quyết Tuyển Tiên Đế Quân, Tản Viên Sơn Thánh, and Trần Hưng Đạo. These Saints all have their names carved on the tablets at Tam Thánh Temple. However, in the royal edicts still kept at the temple from the 7th year of Duy Tân (1911) and the 9th year of Khải Định (1924), conferments were given only to: Văn Xương Đế Quân, Quan Thánh Đế Quân, Tản Viên Sơn Thánh, and Hưng Đạo Đại Vương. A brief history of the deities worshipped at Tam Thánh Temple may be given as follows:
1.1.1. Cửu Thiên Khai Hóa Văn Xương Đế Quân (a Chinese figure, the deity presiding over literature and education).
Văn Xương Đế Quân (Văn Xương Tinh) is a deity revered by both folk belief and Daoism as the god in charge of scholars’ official careers, blessings, and fortunes. Văn Xương is the name of a star, also called Văn Khúc Star (Văn Khúc Tinh) or Văn Star (Văn Tinh). Ancient Chinese people believed that this was the star that governed people's official careers and literary fortunes.
Daoism had the Văn Xương belief early on; in the Lao Jun Yin Song Jie Jing it is written: “Đương giản trạch chủng dân, lục danh Văn Xương cung trung” (responsible for selecting the ranks of the people and recording their names in the Văn Xương Palace).
By the Yuan dynasty (1279–1368) and the Ming dynasty (1368–1644), Chinese Daoists took advantage of the folk belief in Văn Xương Đế Quân to write “Thanh Hà Nội Truyện” and “Tử Đồng Đế Quân Hóa Thư,” recounting the legends of Văn Xương Đế Quân. The books say that Văn Xương Đế Quân was originally born at the beginning of the Zhou dynasty, passed through 73 incarnations, had once been a scholar-official, and at the end of the Western Jin was born in the land of Shu, with the given name Á, surname Trương, courtesy name Bái Phu; he was ordered by the Jade Emperor to oversee the Văn Xương Palace and the register of official salaries (records of officialdom) of the human world.
The “Đạo Tạng Tập Yếu” collected the volume “Văn Xương Đế Quân Bản Truyện,” written during the Chongde years (1636–1648) of the Qing dynasty (1644–1911). It records: “Văn Xương Đế Quân's surname was Trương, his taboo name was Thiện Huân; he had many miraculous deeds. Whenever people sought to avert disaster, pray for rain, or pray for children, if they were sincere there was always a response; he could subdue demons and sweep away epidemics. He was called Văn Chương Tư Mệnh because people of all classes—noble and base, civil and military, physicians, diviners, scholars, farmers, artisans, and merchants—who hoped for official success all relied on him. He resides in the Văn Xương Palace in the Ziwei constellation, often expounding planchette writings and composing scriptures, revealing dreams and sending messages, dividing his spirit into incarnations to respond, and saving human beings.”
In the book “Tử Đồng Đế Quân Hóa Thư” (written by Đàm Tiểu at the beginning of the 10th century), 17 incarnations of Văn Xương Đế Quân are summarized, but the content is extremely absurd. Perhaps this work by the Daoist Đàm Tiểu sought to consolidate and shift the Văn Xương Đế Quân belief from a folk belief to a Daoist belief.
1.1.2. Phục Ma Đại Đế (Quan Công or Quan Vũ, 162–260, courtesy names Vân Trường or Trường Sinh).
Quan Vũ was a military general at the end of the Eastern Han and during the Three Kingdoms period in China. He contributed greatly to the establishment of Shu Han, whose first emperor was Liu Bei. In folk tradition, Quan Vũ is often regarded as a sworn brother ofLiu BeiandZhang Fei. In fact, historical records do not record that Liu Bei, Quan Vũ, and Zhang Fei ever held a sworn-brother ceremony (they only record that they had a very close relationship, “affectionate as brothers”); the title of the Five Tiger Generals is also fictional (however, it is true that Quan Vũ was appointed General of the Vanguard, the highest position in the Shu Han army).
Quan Vũ is regarded as a talented general with fierce martial skills, described by his contemporaries as “a match for ten thousand men, a tiger-spirit of his time, with the bearing of a talented and skilled national scholar.” In character, although he had the flaws of arrogance, a habit of shouting at others, and occasionally impulsive behavior—all of which led to his death—his strengths were courage, respect for ritual and propriety, chivalry and righteousness, perseverance, and absolute loyalty; these strengths were highly valued by the people, and evenCao Caoalso admired him and regarded him as a “righteous man of the world.” Later generations regard him as a symbol of the virtues: “Wealth and fame do not change his heart, prosperity does not make him licentious, poverty does not weaken his will, and force does not subdue him.”
As one of the Chinese historical figures best known in the regionEast Asia, the image of Quan Công was deified in folk stories, beginning from the periodSui dynasty, fictionalized inRomance of the Three KingdomsbyLuo Guanzhong, and portrayed in art forms such as drama, chèo, tuồng, etc. More than 500 years after his death, in 782, Quan Vũ wasEmperor Dezong of Tanginducted into the Martial Temple, where famous generals in history were worshipped; afterward he was also honored by the emperors of theSong dynasty,Yuan dynasty,Ming dynasty,Qing dynasty granted noble and imperial titles and worshipped in many places. In the 17th century he was honored by the emperors Qing dynasty (1636–1912) as Martial Saint, one of the Ten Saints in Chinese history. He is also the only military general in Chinese history to have a separate shrine at the Temple of Emperors (which was Ming dynasty,Qing dynasty built, where the most talented and loyal civil officials and military generals of successive dynasties are worshipped), and most martial temples in Chinese villages have statues of him modeled with a red face, long beard, holding a Green Dragon Crescent Blade and/or riding Red Hare horse.
1.1.3. Kim Quyết Tuyển Tiên Đế Quân (Lü Zu, a famous Chinese physician).
Lü Zu's real name was Lü Yan. He was a famous Taoist priest who lived in the late Tang dynasty and early Five Dynasties period and was ranked among the Eight Immortals. His sobriquet was Chunyang Zi, and his courtesy name was Dongbin. Legend has it that he was born in the late Tang dynasty and sat for examinations many times without passing. At an inn he met the recluse Zhongli Quan, who enlightened him by giving him a pillow and telling him to rest his head on it and sleep. Lü Yan slept and dreamed that he passed the imperial examination as zhuangyuan, rose to the highest official rank, held the power of prime minister, and later was slandered by treacherous ministers, dragged to the execution ground, and beheaded; he was so frightened that he woke up, only to find that the innkeeper's pot of millet porridge was still not cooked. All the events of fifty years were only a dream of a few minutes (this legend gave rise to the literary allusion “golden millet dream”). Mr. Lü came to his senses and followed Zhongli Quan to cultivate immortality. Lü Dongbin advocated many important methods of internal alchemy cultivation and was therefore highly esteemed by Taoists. In the Yuan dynasty, in 1269, Yuan Shizu bestowed on Lü Dongbin the Taoist title Chunyang Yanzheng Jinghua Zhenjun, and later Chunyang Yanzheng Fuyou Dijun. Because Wang Zhe (i.e., Wang Chongyang), founder of the Quanzhen sect, claimed that he had received the Tao personally from Lü Dongbin and honored Lü as the founding patriarch, Lü Dongbin has since often been called Lü Zu, or Chunyang Patriarch. It is said that the book Gongguo Ge was also transmitted and taught by Lü Zu.