These words begin Hamlet's soliloquy in act III, scene I. In this soliloquy, Hamlet is wrestling with some existential questions. As in several other of his soliloquies, Hamlet is considering suicide. With the words "to be or not to be," he is asking whether it is better to live or not to live. Hamlet wonders if death is like going to sleep. If so, then death is not so bad—except that in sleep we dream. Hamlet worries that in death he might have dreams that are worse than in life. The problem, Hamlet reasons, is that death may be an escape from the problems we face in life, but it is an "undiscovered country," and we do not know if it is better than life. In the end, Hamlet reasons, people go on living, despite all the evils and pain that they live with, because death, though inevitable, remains a mystery.