http://www.accesstoinsight.org/tipitaka ... .than.html
"This is how he attends inappropriately: 'Was I in the past? Was I not in the past? What was I in the past? How was I in the past? Having been what, what was I in the past? Shall I be in the future? Shall I not be in the future? What shall I be in the future? How shall I be in the future? Having been what, what shall I be in the future?' Or else he is inwardly perplexed about the immediate present: 'Am I? Am I not? What am I? How am I? Where has this being come from? Where is it bound?'
"As he attends inappropriately in this way, one of six kinds of view arises in him: The view I have a self arises in him as true & established, or the view I have no self... or the view It is precisely by means of self that I perceive self... or the view It is precisely by means of self that I perceive not-self... or the view It is precisely by means of not-self that I perceive self arises in him as true & established, or else he has a view like this: This very self of mine — the knower that is sensitive here & there to the ripening of good & bad actions — is the self of mine that is constant, everlasting, eternal, not subject to change, and will stay just as it is for eternity. This is called a thicket of views, a wilderness of views, a contortion of views, a writhing of views, a fetter of views. Bound by a fetter of views, the uninstructed run-of-the-mill person is not freed from birth, aging, & death, from sorrow, lamentation, pain, distress, & despair. He is not freed, I tell you, from suffering & stress.
"The well-instructed disciple of the noble ones — who has regard for noble ones, is well-versed & disciplined in their Dhamma; who has regard for men of integrity, is well-versed & disciplined in their Dhamma — discerns what ideas are fit for attention and what ideas are unfit for attention. This being so, he does not attend to ideas unfit for attention and attends [instead] to ideas fit for attention.
"And what are the ideas unfit for attention that he does not attend to? Whatever ideas such that, when he attends to them, the unarisen fermentation of sensuality arises in him, and the arisen fermentation of sensuality increases; the unarisen fermentation of becoming arises in him, and arisen fermentation of becoming increases; the unarisen fermentation of ignorance arises in him, and the arisen fermentation of ignorance increases. These are the ideas unfit for attention that he does not attend to.
"And what are the ideas fit for attention that he does attend to? Whatever ideas such that, when he attends to them, the unarisen fermentation of sensuality does not arise in him, and the arisen fermentation of sensuality is abandoned; the unarisen fermentation of becoming does not arise in him, and the arisen fermentation of becoming is abandoned; the unarisen fermentation of ignorance does not arise in him, and the arisen fermentation of ignorance is abandoned. These are the ideas fit for attention that he does attend to. Through his not attending to ideas unfit for attention and through his attending to ideas fit for attention, unarisen fermentations do not arise in him, and arisen fermentations are abandoned.
"He attends appropriately, This is stress... This is the origination of stress... This is the cessation of stress... This is the way leading to the cessation of stress. As he attends appropriately in this way, three fetters are abandoned in him: identity-view, doubt, and grasping at precepts & practices. These are called the fermentations to be abandoned by seeing.