* "Virtue itself turns vice being misapplied": This line suggests that even a virtuous act can become a vice if it is used incorrectly or in the wrong context. For example, a person who stands up for justice might be considered virtuous. However, if they take their pursuit of justice too far and become ruthless or vindictive, their actions become vice.
* "And sometime by action dignified": This line adds a further layer of complexity. It acknowledges that sometimes, an action initially considered vicious or wrong can be elevated to the level of virtue through its execution or its ultimate purpose. This could apply to situations where someone takes a seemingly "bad" action but does so out of necessity or with a noble intention.
In essence, these lines argue that the lines between virtue and vice are not always clear-cut. What is considered virtuous can become vicious based on how it is used, and what appears to be vice might be justified by the action itself.
It's important to note that the specific meaning of these lines is dependent on the context of the play. They are most likely spoken by Hamlet, reflecting on the complexities of morality and the ethical dilemmas he faces.