The Bodhisatta was once an ascetic who had many followers studying with him in the Himalayas. One of his students kept a pet snake in a bamboo tube. The Bodhisatta told him snakes cannot be trusted and he should let it go—if he didn’t, the snake would kill him. But the man told the Bodhisatta he loved the snake as if it were his child, and he kept it.
A short time later, all the ascetics went out into the forest to gather fruit for a few days. Upon their return, the student opened the bamboo tube to feed his snake, as he had always done before. But this time the snake was angry about being kept caged for so long and it bit the student’s hand, killing him instantly.
In the Lifetime of the Buddha
One of the Buddha’s disciples, who had been the ascetic who kept the snake as a pet in an earlier birth, was stubborn. The Buddha told him this story as a warning that stubbornness can have bad results.