Hamlet uses this line in Act II, Scene 2, Page 11. He is in the middle of a conversation with Rosencrantz and Guildenstern who have been recruited by the King to spy on him and report back about his state of mind.