Answer:
Quoted from Act III scene ii of the play "Hamlet".
Step-by-step explanation:
These lines are said by Hamlet in William Shakespeare's tragic play "Hamlet". The scene is after the actors/ players had finished their performance about the murder of a king by his nephew.
The quoted lines are spoken by Hamlet in Act III scene ii before he went to meet his mother. After the performance of the play, Gertrude had sent Polonius to bring Hamlet to her, presumably to talk to him about the play that has just been acted out, which greatly seemed to disturb Claudius. In his speech, Hamlet encourages himself to have courage and do what he had planned. He states that just as it is time for the evils of the night to roam the earth, he will also steel himself to meet his mother and tell the truth about the death of his father t the hands of his uncle/step-father Claudius.