Red Boy escaped the ordeal of the sword mountain, but was then fitted by Guanyin Bodhisattva with five golden rings—one on his head, one on each wrist, and one on each ankle. How could he submit? He struggled and tried to escape. Guanyin Bodhisattva recited the six-character mantra 'Om Mani Padme Hum', and the golden rings tightened, causing Red Boy to writhe and tumble in agony. With no one to turn to for help, he could only prostrate himself on the ground, vowing to convert to Buddhism. Thus Guanyin Bodhisattva accepted him as the Sudhana Child and bestowed upon him a Dharma name. From then on, Red Boy turned over a new leaf and served at the Bodhisattva's side.
Having survived this tribulation, Tang Sanzang and his disciples were reunited. Guanyin Bodhisattva admonished the pilgrims not to harbor delusions, but to focus on traveling west to obtain the true scriptures. The four pilgrims thanked the Bodhisattva for her grace, packed their belongings, bid farewell to the Fire Cloud Cave, and continued westward.
Now, Tang Sanzang and his disciples, having left the Flaming Mountain, journeyed westward. Before long, they arrived at a kingdom whose city walls were tall and moats wide, an impressive sight. Entering the city, they found it bustling with markets, but the temples by the roadside were desolate, and the monks were gaunt and shackled, forced into hard labor by Daoist priests. Seeing this, Tang Sanzang could not bear it and inquired into the matter. He learned that the king revered Daoism, disparaged Buddhism, and that three demon Daoists—the Great Immortal of Tiger Strength, the Great Immortal of Deer Strength, and the Great Immortal of Goat Strength—served as state preceptors, disrupting the court and causing suffering among the people.
On hearing this, Wukong's fiery eyes and diamond pupils flashed, and he knew at once that the state preceptors were definitely demons. He thought, 'How can such harmful monsters be allowed to stay long?' So he transformed into a wandering Daoist and infiltrated the Temple of the Three Pure Ones to investigate. At midnight, he saw the three state preceptors setting up an altar and performing rites in the hall. Approaching for a closer look, he confirmed they were indeed three demons. He then called Zhu Bajie and Sha Monk, and the three of them devoured all the offerings on the altar, then urinated to desecrate the site, infuriating the three demons and throwing them into chaos.