“Bhikkhus [Monks], before my enlightenment, while I was still only an unenlightened Bodhisattva, I too, being myself subject to birth, sought what was also subject to birth; being myself subject to aging, sickness, death, sorrow, and defilement, I sought what was also subject to aging, sickness, death, sorrow and defilement.
Then I considered thus: “Why, being myself subject to birth, do I seek what is also subject to birth? Why, being myself subject to aging, sickness, death, sorrow and defilement, do I seek what is also subject to aging, sickness, death, sorrow and defilement?
Suppose that, being myself subject to birth, having understood the danger in what is subject to birth, I seek the unborn supreme security from bondage, Nibbana [Nirvana]. Suppose that, being myself subject to aging, sickness, death, sorrow and defilement, having understood the danger in what is subject to aging, sickness, death, sorrow and defilement, I seek the unaging, unailing, deathless, sorrowless, and undefiled supreme security from bondage, Nibbana.’”
.
Ariyapariyesana Sutta, in The Middle Length Discourses of the Buddha, trans. by Bhikkhu Bodhi