In the Mahabharata, King Parikshit was cursed by sage Shringi's son to die on the seventh day by a snake bite. This happened because the king placed a dead snake around the sage's father's neck, which enraged the young sage. The curse ultimately led to Parikshit's death by Takshaka, the snake king.