That is what the Buddha said. Satisfied, that mendicant approved what the Buddha said. And while this discourse was being spoken, the stainless, immaculate vision of the Dhamma arose in that mendicant: “Everything that is liable to arise is liable to cease.”
Linked Discourses 35.75 8. Sick Sick (2nd)
Then a mendicant went up to the Buddha … and asked him, “Sir, in such-and-such monastery there’s a mendicant who is junior and not well-known. He’s sick, suffering, gravely ill. Please go to him out of sympathy.”
When the Buddha heard that the mendicant was junior and ill, understanding that he was not well-known, he went to him. That mendicant saw the Buddha coming off in the distance and stirred in his cot. Then the Buddha said to that monk, “It’s all right, mendicant, don’t get up. There are some seats spread out, I will sit there.” He sat down on the seat spread out and said to the mendicant, “I hope you’re keeping well, mendicant, I hope you’re all right. I hope your pain is fading, not growing; that its fading is evident, not its growing.”
“Sir, I’m not keeping well, I’m not getting by. … I have no reason to blame myself when it comes to ethical conduct.”
“In that case, mendicant, why do you have remorse and regret?”
“Because I understand that the Buddha has not taught the Dhamma merely for the sake of ethical purity.”