文昌帝君

Wenchang, Lord of Literature

Patron of Scholars & Examinations

Festival · 3rd day of the 2nd lunar month

Wenchang, Lord of Literature (文昌帝君)

Patron of Scholars & Examinations

Overview · 概览

The deified sage Zhang Yazi of Sichuan, merged with the six stars of the Wenchang asterism. For a thousand years students have prayed to him before examinations, attended by his deaf-and-blind servants Tiankong and Tian'er.

Symbols · 象征

  • Writing brush and ruyi
  • The Wenchang stars
  • Books of merit

Festival · 3rd day of the 2nd lunar month

History · 史记

Historical Record

Wenchang Dadi, Lord of Literature, governs examinations, talent and official careers. His origin is double: astronomically, Sima Qian's Tianguan Shu records the six stars of the Wenchang palace before the Dipper; historically, he merged with a local deity of Sichuan, Zhang Yazi of Zitong, whose cult spread with traveling scholars. In 1316 the Yuan court enfeoffed him as Fuyou Wenchang Hongren Dadi — the state god of the examination system.

Beside him stand the Heavenly Deaf and the Earthly Mute: one hears all prayers but cannot reveal them, the other sees all but cannot speak — the secrecy of fate, guarded on either hand. His morality book, the Yin Zhi Wen, is among the most printed texts in Chinese history.

Legends · 典故

Stories of the Divine

文昌六星

The Six Stars of Wenchang

The Tianguan Shu names the six stars before the Dipper as the Wenchang palace — the gathered multitude of literary fate. What began as a constellation became a ministry of heaven.

陰騭文

The Yin Zhi Wen

His morality book commands hidden virtue: act with quiet kindness, save ants from drowning, never cheat by weight or measure. Examinations, it teaches, are won by character before talent.

Sources · 典籍来源

Classical Sources

  1. 01

    史記·天官書

    Shiji, Tianguan Shu

    The astronomical origin: the six-star Wenchang palace before the Dipper.

  2. 02

    元史

    Yuan Shi

    Records the 1316 enfeoffment that made Wenchang the empire-wide god of examinations.

  3. 03

    文昌帝君陰騭文

    Wenchang Dadi Yin Zhi Wen

    The morality book attributed to him, printed in countless editions from the Song onward.