This is some good advice for Hamlet. He waits until the final scene of the final act of the play after everyone has already died to finally kill Claudius