When you become a Sotapanna it assures enlightenment within seven lives.
"The laywoman Sujata, Ananda, through the destruction of the three fetters has become a stream-enterer, and is safe from falling into the states of misery, assured, and bound for Enlightenment.
https://www.accesstoinsight.org/tipitaka/dn/dn.16.1-6.vaji.html