Hamlet contrasts how the world is with how it seems. Why does it seem that way?
Hamlet's father has just died and his mother remarried - to his uncle! Hamlet is not allowed to go back to school and he was not the one to ascend the throne after his father's death. Essentially, Hamlet's lefis is the "prison" as he tells his friends. It seems as though, among other things, hamlet is somewhat depressed. He feels betrayed - his mother has remarried so quickly and seems to have forgotten his father rather fast, his uncle has not only ascended the throne but also has been accused (by the ghost) as having killed King Hamlet. Hamlet soon feels betrayed by his friends Rosencrantz and Guildenstern who have been asked by Claudius to visit Hamlet to see what bothers him - and Hamlet quickly can figure that out. Hamlet is unsure about everyone and everything at this point in his life.