'To be or not to be, that is the question' is the opening line of Hamlet's famous soliloquy in Act 3, Scene 1 of Shakespeare's Hamlet. The Prince of Denmark contemplates suicide and existence itself, questioning whether it is better to endure life's suffering or to end it. This is arguably the most famous quote in English literature.