“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 … sn.v.35 Accomplishment in diligence … Accomplishment in careful attention … complete as in §70 … He develops right concentration, which has as its final goal the removal of lust, the removal of hatred, the removal of delusion. It is in this way, bhikkhus, that a bhikkhu who is accomplished in careful attention develops and cultivates the Noble Eightfold Path.”
SN45_76: Dutiyayonisomanasikārasampadāsutta
Dutiyayonisomanasikārasampadāsutta - translated by Bhikkhu Bodhi