Day 31 covers Chapter 27, King Wonderful-Adornment as the Previous Life of a Bodhisattva.
“Thereupon Cloud-Thunderpeal-Star-King-Flower-Wisdom Buddha said to the four kinds of devotees, ‘Do you see this King Wonderful-Adornment standing before me with his hands joined together, or not? This king will become a bhikṣu under me, strenuously study and practice the various ways to the enlightenment of the Buddha, and then become a Buddha called Sala-Tree-King in a world called Great-Light in a kalpa called Great-Height-King. Sala-Tree-King Buddha will be accompanied by innumerable Bodhisattvas and Śrāvakas. The ground of his world will be even. [King Wonderful-Adornment) will have these merits.’
“Thereupon the king abdicated from the throne in favor of his younger brother, renounced the world, and with his wife, two sons, and attendants, practiced the Way under that Buddha. After he renounced the world, the king acted according to the Sūtra of the Lotus Flower of the Wonderful Dharma constantly and strenuously for eighty-four thousand years. Then he practiced the samādhi for the adornment of all pure merits. Then he went up to the sky seven times as high as the tala-tree, and said to that Buddha, ‘World-Honored One! These two sons of mine did the work of the Buddha. They converted me from wrong views by displaying wonders. They caused me to dwell peacefully in your teachings. They caused me to see you. These two sons of mine are my teachers. They appeared in my family in order to benefit me. They inspired the roots of good which I had planted in my previous existence.’
“Thereupon Cloud-Thunderpeal-Star-King-Flower-Wisdom Buddha said to King Wonderful-Adornment, ‘So it is, so it is. It is just as you say. The good men or women who plant the roots of good will obtain teachers in their successive lives. The teachers will do the work of the Buddha, show the Way [to them], teach them, benefit them, cause them to rejoice, and cause them to enter into the Way to Anuttara-samyak-saṃbodhi. Great King, know this! A teacher is a great cause [of your enlightenment] because he leads you, and causes you to see a Buddha and aspire for Anuttara-samyak-saṃbodhi. Great King! Do you see these two sons of yours, or not? They made offerings to six trillion and five hundred thousand billion Buddhas, that is, as many Buddhas as there are sands in the River Ganges, in their previous existence. They attended on those Buddhas respectfully. They kept the Sūtra of the Lotus Flower of the Wonderful Dharma under those Buddhas, and caused the people of wrong views to have right views out of their compassion towards them.