Old woman Ge then gave the qin to Wen. Wen brought the qin home, and at night played together with Huanniang; the qin and flute harmonized, and their affection deepened. But Wen knew that the living and the dead were on different paths, and did not dare to harbor improper thoughts. At that time, Prefect Shi had a daughter named Liancheng, who was very beautiful, but afflicted with a lingering illness, melancholic day and night, finding comfort only in qin music. Prefect Shi widely recruited qin masters, but none pleased Liancheng. Wen Ruchun went to try, but his flute playing was ordinary and failed to move Liancheng's heart. Huanniang heard of this at night and said to Wen: "What you played was not the sound of Master Ge. Liancheng is the destined match of Master Ge. Go again tomorrow, and I will guide your fingers to help you accomplish this good union." The next day, Wen Ruchun went again to the Shi residence. Huanniang indeed attached herself to his hands, and his flute sound became like heavenly music, clear and melodious, wafting into the ears. Hearing it, Liancheng's heart and soul were intoxicated, and her illness gradually healed. Liancheng admired Wen's talent, and Prefect Shi also loved his character, so he wished to give his daughter to Wen in marriage. Wen knew he was poor and did not dare to aspire so high. Huanniang knew Liancheng's feelings and told Wen at night: "Liancheng is the wife of Master Ge; this is a match made in heaven. Why not follow heaven's will and marry her?" Wen Ruchun said: "Since I am a ghost, how can I become a living person's spouse?" Huanniang sighed and said: "I have been dead for a long time; our bond is already over. Now fortunately you have met a good match; Liancheng is virtuous and worthy, enough to comfort my heart. The old qin of Master Ge should also return to its owner." Hearing this, Wen sighed at her deep affection and righteousness. Wen and Liancheng then married. On the night of the wedding, Huanniang suddenly appeared and said to Liancheng: "I was originally the daughter of the Shi family, led astray by Master Ge, and thus lingered long in the mortal world. Now fortunately you have met Wen, and your union is harmonious; my heart is finally comforted. May you and Wen be united forever; this kindness and virtue, I will never forget!" After speaking, she vanished, and no one knew where she went.
The Historian of Strange Events says: Huanniang's feeling is indeed extraordinary! As a wandering soul, she could bring about others' happiness—is that not sage-like! Her righteousness is enough to make faithless men feel shame and regret in the underworld.