It is from the most quoted Shakespeare's soliloquy in English; Hamlet, Act III, scene 1. These lines from Hamlet comes when the young prince contemplates living or killing himself with his dagger. "To be, or not to be, that is the question....." - in other words, " To live or die, that is my problem....". Hamlet contemplates death and suicide bemoaning the pain and unfairness of life but acknowledging that the alternative might be worse. To be or not to be means to live suffering the slings and arrows of life or to die. He is imagining what it would be like if he "shuffled off this mortal coil."

Why should he put up with "the whips and scorns of time," the " pangs of dispriz'd love," and other abuses, when he can end it all with "a bare bodkin" (a dagger)? Hamlet contemplates a journey to " the undiscovered country, from whose born no traveller returns."

In the end, though, he decides that it is the very mystery of death and what comes next that makes us " bear those ills we have" and " does make cowards of us all." However, Hamlet continues to waffle and equivocate in this manner for the next four hours (Shakespeare's longest play), until the end, when the entire cast shuffles off the mortal coil.

More Info: blog.prepscholar.com