MN 26: Ariyapariyesanā Sutta (The Noble Search)
Bhikkhus, before my enlightenment, while I was still only an unenlightened Bodhisatta, I too, being myself subject to birth, sought what was also subject to birth
The Buddha’s own spiritual autobiography, from searching to finding true deliverance.