The Bodhisatta was once a parrot. He and his brother lived in the home of a brahmin, who treated them like his own children. The brahmin’s wife was a wicked woman and one time when he had to go away on business he asked his parrots to keep watch over her and report if she brought any men to the house.
During his absence his wife had a steady stream of lovers come to the house both day and night. Despite the Bodhisatta warning him against doing it, his brother asked her why she was doing bad things. She hid her anger and feigned remorse so she could get near the parrot –then she wrung his neck and threw him into the oven. When the brahmin returned, he asked the Bodhisatta whether his wife had had sex with other men. The Bodhisatta refused to answer, explaining he did not want to end up dead like his brother. Then he said he could no longer live in the house and flew away to the forest.
In the Lifetime of the Buddha
One of the Buddha’s disciples began lusting for a woman he saw wearing beautiful clothes and had thus stopped focusing on studying dharma. The Buddha reminded him that women are inherently wicked and told this story to let him know that even women who are watched carefully will betray their husbands. This convinced him to remain a disciple.
The Bodhisatta’s brother was an earlier birth of Ananda, one of the Buddha’s top disciples.