The most famous soliloquy in English literature—"To be, or not to be"—is spoken by Prince Hamlet in Act III, Scene I of William Shakespeare’s Hamlet.
Hamlet enters the castle hall, unaware that Claudius and Polonius are hiding behind an arras, eavesdropping. He contemplates the nature of existence, suffering, and the fear of the unknown after death. It is a philosophical meditation, not a plot exposition—Hamlet is thinking aloud, wrestling with whether to endure life’s pain or end it, paralyzed by the dread of "what dreams may come."
No other character delivers this speech. It is Hamlet’s alone—the voice of a prince trapped in a mind too vast for his circumstance.