From Fatalistic Passivity and Predicted Early Death to Imperial Magistrate, Father, and Author of Liao-Fan's Four Lessons Through the Cundi Mantra and a Daily Merit Ledger

Within a year of beginning his Cundi Mantra recitation and merit ledger, Yuan broke Mr. Kong's predictions for the first time by ranking first instead of third in the provincial prelims and passing the autumn provincial imperial examination. After completing his vows of 3,000 ...
By pairing uninterrupted recitation of the Buddhist Cundi Mantra with a daily Merit-Fault Ledger, Ming Dynasty scholar Yuan Liaofan overturned a fortune-teller's fatalistic predictions and authored the classic 'Liao-Fan's Four Lessons.'
By pairing uninterrupted recitation of the Buddhist Cundi Mantra with a daily Merit-Fault Ledger, Ming Dynasty scholar Yuan Liaofan overturned a fortune-teller's fatalistic predictions and authored the classic 'Liao-Fan's Four Lessons.'
BEFORE THE CHANGE

The Prison of Perfect Predictions

In the mid-sixteenth century during China's Ming Dynasty, a young scholar named Yuan Huang—who then went by the courtesy name Xuehai ('Broad Sea of Learning')—lived in Wujiang, Jiangsu Province. Having lost his father in childhood, Yuan honored his mother's wish to abandon preparing for the grueling imperial civil service examinations and instead study medicine, which offered a practical livelihood and a way to help others.

One day, at the Compassionate Cloud Temple, Yuan met a distinguished, long-bearded elder named Mr. Kong from Yunnan Province. Mr. Kong was a master of Shao Yong's 'Imperial Standard of Governing the World' (Huangji Jingshi), a complex Neo-Confucian system of mathematical numerology and fate calculation. Examining Yuan's birth data, Mr. Kong told him that he was destined for government office, not medicine, and urged him to return to his studies.

To prove his calculation, Mr. Kong wrote out a remarkably granular forecast of Yuan's entire life. He predicted that the following year, Yuan would pass the county examination ranked fourteenth, the prefecture examination ranked seventy-first, and the provincial academy examination ranked ninth. When the exams were held the next year, Yuan placed fourteenth, seventy-first, and ninth—matching Mr. Kong's figures to the exact number.

Stunned, Yuan asked Mr. Kong to calculate the rest of his life. The astrologer predicted which years Yuan would pass specific tests, when he would become an Imperial Student, and the exact amount of stipend rice he would receive from the state granary at each stage—ninety-one piculs and five斗 (bushels) before being promoted to magistrate in Sichuan Province. However, Mr. Kong's forecast ended with three grim, unyielding boundaries: Yuan would never pass the higher provincial or Jinshi imperial examinations; he would die without ever fathering a son; and his life would end at 1:00 AM on the fourteenth day of the eighth lunar month at the age of fifty-three.

Over the next fifteen years, every single milestone unfolded with eerie mathematical precision. At one point, when Yuan had accumulated only seventy piculs of rice, the Commissioner of Education approved his promotion early—making Yuan briefly wonder if Mr. Kong had finally miscalculated. Yet the promotion was unexpectedly overruled by a higher official, and by the time Yuan was finally appointed Years later, his total rice ration stood at exactly ninety-one piculs and five bushels.

Convinced that every promotion, failure, grain of rice, and breath of life was locked into an immutable cosmic ledger, Yuan surrendered all personal ambition. He ceased striving, let go of desires, and drifted into a numb, fatalistic passivity, viewing human effort as an illusion.

THE PROCESS

Master Yungu, the Cundi Mantra, and the Book of Cultivating the Mind

In 1569, while travelling to Nanjing to enter the Imperial University, the thirty-six-year-old scholar visited Qixia Mountain and met the renowned Zen Master Yungu (Yungu Fahui). The two sat facing each other in silent meditation inside the禅堂 (meditation hall) for three full days and nights without sleeping.

Impressed that his guest had sat for seventy-two hours without a single anxious or wandering thought arising, Master Yungu asked what spiritual discipline he practiced. Yuan replied honestly: 'Mr. Kong has calculated my entire life. Everything—birth, death, promotion, and failure—is fixed by fate. There is nothing left for me to think about or desire.'

Master Yungu burst out laughing. 'I thought you were a man of extraordinary spiritual attainment!' the monk exclaimed. 'Now I realize you are nothing more than an ordinary, deluded mortal!'

Master Yungu explained a foundational Buddhist truth: the mind of an ordinary person is constantly agitated by habitual, wandering thoughts and karmic impulses, and is therefore completely bound by the mathematical laws of yin, yang, and fate. However, when a person cultivates deep meditative stillness and deliberately reshapes their thoughts and deeds, they step outside the astrologer's equations. Quoting both Confucian classics ('Seek and you shall find; destiny is created by oneself') and the Sixth Zen Patriarch Huineng ('All fields of merit lie within one's own heart'), Master Yungu forced Yuan to conduct a ruthless self-audit.

When Master Yungu asked whether Yuan truly deserved high imperial office or a son, Yuan reflected deeply and admitted his flaws: he was harsh and impatient, valued his own reputation over helping others, talked excessively (scattering his vital energy), indulged in late-night drinking, and lacked compassion. Moved to tears of awakening, he changed his name from Xuehai ('Broad Sea') to Liaofan ('Transcending the Ordinary') and adopted Master Yungu's systematic daily protocol to rewrite his destiny:

1. Uninterrupted Recitation of the Cundi Mantra: To anchor his scattered mind in meditative samadhi (stillness), Master Yungu taught Liaofan the Buddhist Cundi Mantra (Zhunti Shenzhou) along with mudras and talismanic focus. Master Yungu instructed him to recite the mantra continuously without counting or forcing it—practicing until the recitation became 'effortless amidst effort,' flowing unbroken whether he was walking, standing, sitting, or working, so that no selfish or wandering thought could intrude.
2. The Merit-Fault Ledger (Gongguoge): Master Yungu handed Liaofan a structured tracking ledger of merits and demerits. Each evening before bed, Liaofan audited his day's actions and thoughts, subtracting demerit points (for harsh words, impatience, or selfishness) from merit points (for charity, patience, rescuing life, or helping others in secret). He later titled his desk ledger the 'Book of Cultivating the Mind' (Zhixin Bian), having his attendant place it on his official desk every morning as a visible commitment device.
3. Progressive Vow Stacking (3,000 to 10,000 Deeds): Rather than making vague resolutions, Liaofan bound himself to concrete quantitative vows. First, he vowed before the Buddha to perform 3,000 meritorious deeds. Once completed, he vowed to perform a second set of 3,000 deeds to pray for a son, and later vowed to complete 10,000 meritorious deeds while preparing for the highest Jinshi examination.
4. Family Partnership and the Goose-Feather Calendar: Liaofan's wife joined the daily discipline whole-heartedly. Because she could not read or write to use the written ledger, she dipped the quill of a goose feather into red cinnabar ink and stamped a red circle onto the household almanac calendar each time she fed the poor, sewed winter clothes for the needy, or bought captive fish and birds from the market to release in the wild—sometimes accumulating over ten red circles in a single day.
5. Uprooting Faults at the Root of Thought: Liaofan practiced what he called 'reforming from the heart.' Instead of trying to prune thousands of surface behavioral flaws one by one like cutting leaves off a poisonous tree, he used the mental clarity of the Cundi Mantra to catch selfish, angry, or arrogant impulses the instant they arose in awareness—dissolving them like spring sunlight melting a thin layer of ice.

AFTER THE CHANGE

Shattering Every Prediction and Leaving a 400-Year Legacy

The results of Liaofan's daily mantra practice and behavioral ledger began appearing almost immediately. The year after meeting Master Yungu (1570), Liaofan sat for the preliminary examination. Mr. Kong had predicted he would place third; instead, Liaofan ranked first. That autumn, defying Mr. Kong's decree that he would never advance further, Liaofan passed the provincial imperial examination (Juren).

Even so, Liaofan noted candidly in his memoir that his character reform was initially uneven: he still slipped into impatience, sharp speech, and overindulgence in wine, so it took him ten full years to complete his first vow of 3,000 net meritorious deeds. In 1580, after returning home to dedicate the merits of those 3,000 deeds, he and his wife initiated their second vow of 3,000 deeds—and the very next year (1581), defying the prediction of lifelong childlessness, his wife gave birth to a healthy son, whom they named Yuan Tianqi ('Granted by Heaven').

Completing their second 3,000-deed vow in just four years thanks to his wife's daily goose-feather tracking, Liaofan made a third vow of 10,000 meritorious deeds and sat for the highest metropolitan imperial examination (Jinshi) in 1586. He passed and was appointed magistrate of Baodi County near Beijing.

Fearing that his busy magistrate duties in a small county would prevent him from completing 10,000 individual good deeds, Liaofan dreamed of a heavenly being who reminded him of a single line from the Merit-Fault Ledger: 'Reducing taxes to relieve the people counts as ten thousand merits in a single stroke.' Upon waking and consulting Zen Master Huikong, Liaofan audited Baodi County's agricultural land tax and permanently lowered the grain tax rate across the entire county—instantly relieving tens of thousands of peasant families while building flood embankments and schools.

When Liaofan reached age fifty-three—the exact year, month, day, and hour Mr. Kong had predicted for his death—he did not even apply for sick leave, nor had he specifically prayed for longevity. He lived another twenty-one vigorous, productive years, passing away peacefully in 1606 at the age of seventy-four.

In 1602, at age sixty-nine, he wrote down his life story as a four-part family manual for his son: 'Liao-Fan's Four Lessons' (Liaofan Sixun: Learning to Create Destiny, Ways to Reform, Ways to Cultivate Goodness, and Benefits of the Virtue of Humility). Revered by Qing Dynasty statesman Zeng Guofan, modern scholar Hu Shi, and 13th Pure Land Patriarch Master Yinguang—who printed and distributed hundreds of thousands of copies across Asia—Liaofan's memoir remains one of history's clearest empirical accounts of how contemplative mantra focus and daily behavioral tracking can transform a human life.

What we can take from this story

1

Fatalism Applies Only to an Unexamined Mind

Statistical trends, childhood conditioning, or past failures only dictate your future if you operate on autopilot. The moment you take deliberate control of your thoughts and daily habits, you step outside old baselines.

2

Pair Contemplative Stillness with Concrete Tracking

Liaofan did not rely on mantra chanting alone, nor on willpower alone. He used the Cundi Mantra to quiet mental noise and a daily Merit-Fault Ledger to hold his real-world actions accountable—proving that inner stillness and outer measurement reinforce each other.

3

Reform at the Root of Thought, Not Just the Leaf of Behavior

Trying to suppress dozens of bad habits through sheer force is exhausting. Cultivating mindfulness allows you to spot ego, anger, or self-pity the second it arises in the mind, uprooting the impulse before it becomes an action.

Transformation at a glance

Sources & References

• Yuan, Liaofan (Yuan Huang). 'Liao-Fan's Four Lessons (Liaofan Sixun / 了凡四訓).' Original Ming Dynasty Autobiographical Treatise (1602); Modern Commentary by Zhi-Hai Huang, Buddha Dharma Education Association / BuddhaNet.
• Chinaknowledge: An Encyclopaedia on Chinese History, Literature and Art. 'Liaofan sixun 了凡四訓 (Yuan Liaofan's Four Instructions).' Edited by Dr. Ulrich টেবিল Theobald, University of Tübingen.
• Atlantis Press. 'The Life Wisdom in Liao Fan's Four Lessons.' Proceedings of the International Conference on Social Science and Humanity.
• Wikipedia / Historical Archives of Chinese Pure Land Buddhism. 'Shi Yinguang (13th Patriarch) & The Modern Dissemination of Liao-Fan's Four Lessons.'