The Tragedy of Hamlet, Prince of Denmark — Act 3, Scene 3: A room in the castle.

Claudius decides Hamlet is too dangerous to be left free and tells Rosencrantz and Guildenstern to prepare for Hamlet’s voyage to England with them. They agree, praising the importance of protecting the king. After they leave, Polonius says Hamlet is going to Gertrude’s closet and plans to hide behind the arras to overhear their conversation, then report back to Claudius. Once alone, Claudius confesses his guilt over murdering his brother and struggles to pray honestly because he still keeps the crown, queen, and power gained by the crime. Hamlet enters, finds him kneeling, and nearly kills him, but stops when he realizes that would send Claudius to heaven. He leaves, and Claudius rises, unable to pray.