the ghost told hamlet to take revenge against his brother Claudius, the one who killed him and not to take revenge of his mother.Hamlet disgust his wife Gertrude.
At the end of Sophocles' Oedipus Rex, the protagonist Oedipus has gouged out his own eyes and is sent into exile. His wife (and -- spoiler alert -- his mother) is dead, having hung herself.