Thus have I heard:
On one occasion the Blessed One was living in the Sakyan country at Kapilavatthu in Nigrodha’s Park. Then Mahanama the Sakyan went to the Blessed One, and after paying homage to him, he sat down at one side and said: "Venerable sir, I have long understood the Dhamma taught by the Blessed One thus: greed is an imperfection that defiles the mind, delusion is an imperfection that defiles the mind. Yet while I understand the Dhamma taught by the Blessed One thus, at times states of greed, hate, and delusion invade my mind and remain. I have wondered, venerable sir, what state is still un-abandoned by me internally, owing to which at times states of greed, hate, and delusion invade my mind and remain?"
"Mahanama, there is still a state un-abandoned by you internally, owing to which at times states of greed, hate and delusion invade your mind and remain; for were that state already abandoned by you internally you would not be living the home life, you would not be enjoying sensual pleasures. It is because that state is un-abandoned by you internally that you are living the home life and enjoying sensual pleasures.
Even though a noble disciple has seen clearly as it actually is with proper wisdom how sensual pleasures provide little gratification, much suffering, and much despair, and how great the is the danger in them, as long as he still does not attain to the rapture and pleasure that are apart from sensual pleasures, apart from unwholesome states, or to something more peaceful than that, he may still be attracted to sensual pleasures. But when a noble disciple has seen clearly as it actually is with proper wisdom how sensual pleasures provide little gratification, much suffering, and much despair, and how great is the danger in them, and he attains to the rapture and pleasure that are apart from sensual pleasures, apart from unwholesome states, or to something more peaceful then that, then he is no longer attracted to sensual pleasures.
Before my enlightenment, while I was still only a unenlightened Bodhisattva, I too clearly saw as it actually is with proper wisdom how sensual pleasures provide little gratification, much suffering, and much despair, and how great is the danger in them, but as long as I did not attain to the rapture and pleasure that are apart from sensual pleasures, apart from unwholesome states, or to something more peaceful then that, I recognized that I still could be attracted to sensual pleasures. But when I clearly saw as it actually is with proper wisdom how sensual pleasures provide little gratification, much suffering, and much despair, and how great is the danger in them, and I attained to the rapture and pleasure that are apart from sensual pleasures, apart from unwholesome states, or to something more peaceful than that, I recognized that I was no longer attracted to sensual pleasures.
And what is the gratification in the case of sensual pleasures? Mahanama, there are these five cords of sensual pleasure: forms recognized by the eye, sounds recognized by the ears, odors recognized by the nose, flavors recognized by the tongue, and tangibles recognized by the body that are wished for, desired, agreeable and likeable, connected with sensual desire, and provocative of lust. This is the danger in the case of sensual pleasures: a mass of suffering in the life to come, having sensual pleasures as its cause, sensual pleasures as its source, sensual pleasures as its basis, the cause being simply sensual pleasures.
Now, Mahanama, on one occasion I was living at Rajagaha on the mountain Vulture Peak (also known as ‘Eagle Peak’). On that occasion a number of Niganthas living on the black rock on the slopes of Isigili were practicing continuous standing, rejecting seats, and were experiencing painful, racking, piercing feelings due to exertion. (Jains practiced an extreme form of self-punishment in the belief that this would help them purify past negative karma.)
Then, when it was evening, I rose from meditation and went to the Niganthas there. I asked them: friends, why do you practice continuous standing, rejecting seats, and experience painful, racking, piercing feelings due to exertion?
When this was said, they replied: ‘friend, the Nigantha Nataputta is omniscient and all-seeing and claims to have complete knowledge and vision thus: ‘whether I am walking or standing or asleep or awake, knowledge and vision are continuously and uninterruptedly present to me. He says thus: Niganthas, you have done evil actions in the past; exhaust them with the performance of piercing austerities. And when you are here and now restrained in body, speech and mind, that is doing no evil actions for the future. So by annihilating with asceticism past actions and by doing no fresh actions, there will be no consequence in the future. With no consequence in the future, there is the destruction of action. With the destruction of action, there is the destruction of suffering. With the destruction of suffering, there is the destruction of feeling. With the destruction of feeling, all suffering will be exhausted. This is the doctrine we approve of and accept, and we are satisfied with it.’
When this was said, I told them: but, friends, do you know that you existed in the past, and that it is not the case that you did not exist?
‘No, friend.’
But, friends, do you know that you did evil actions in the past and did not abstain from them?
‘No, friend.’
But, friends, do you know that you did such and such evil actions?
‘No, friend.’
But, friends, do you know that so much suffering has already been exhausted, or that so much suffering has still to be exhausted, or that when so much suffering has been exhausted all suffering will have been exhausted?
‘No, friend.’
But, friends, do you know what the abandoning of unwholesome states is and what the cultivation of wholesome states is here and now?
‘No, friend.’
So, friends, it seems that you do not know that you existed in the past and that it is not the case that you did not exist; or that you did evil actions in the past and did not abstain from them; or that you did such and such evil actions; or that so much suffering has already been exhausted, or that so much suffering has still to be exhausted, or that when so much suffering has been exhausted all suffering will have been exhausted; or what the abandoning of unwholesome states is and what the cultivation of wholesome states is here and now. That being so, those who are murderers, bloody-handed evil doers in the world, when they are re-born among human beings, go forth into homelessness as Niganthas.
‘Friend Gotama, pleasure is not to be gained through pleasure; pleasure is to be gained through pain. For were pleasure to be gained through pleasure, then King Bimbisara of Magadha would gain pleasure, since he abides in greater pleasure than the venerable Gotama.’
Surely the venerable Niganthas have uttered those words rashly and without reflection. Rather it is I who ought to be asked: who abides in greater pleasure, King Bimbisara of Magadha or the venerable Gotama?
‘Surely, friend Gotama, we uttered those words rashly and without reflection. But let that be. Now we ask the venerable Gotama: who abides in greater pleasure, King Bimbisara of Magadha or the venerable Gotama?’
Then, friends, I shall ask you a question in return. Answer it, as you like. What do you think, friends? Can King Bimbisara of Magadha abide without moving his body or uttering a word, experiencing the peak of pleasure for seven days and nights?
‘No, friend."
Can King Bimbisara of Magadha abide without moving his body or uttering a word, experiencing the peak of pleasure for six, five, four, three, or two days and nights? Can he experience this pleasure for even one day and night?
‘No, friend.’
But, friends, I can abide without moving my body or uttering a word, experiencing the peak of pleasure for up to seven days and nights. What do you think, friends? That being so, who dwells in greater pleasure, King Bimbisara of Magadha or I?"
"That being so, the venerable Gotama abides in greater pleasure then King Bimbisara of Magadha."
This is what the Blessed One said. Mahanama the Sakyan was satisfied and delighted in the Blessed One’s words.