“Bhikkhus, one thing is very helpful for the arising of the Noble Eightfold Path. What one thing? Accomplishment in virtue … Accomplishment in desire … Accomplishment in self … Accomplishment in view … Accomplishment in diligence … Accomplishment in careful attention … complete as in §63 sn.v.34 … He develops right concentration, which is based upon seclusion, dispassion, and cessation, maturing in release. It is in this way, bhikkhus, that a bhikkhu who is accomplished in careful attention develops and cultivates the Noble Eightfold Path.”
SN45_69: Yonisomanasikārasampadāsutta
Yonisomanasikārasampadāsutta - translated by Bhikkhu Bodhi