Hamlet, throughout the play, sacrifices his own needs and desires to secure the kingdom and revenge his father's death. His sense of justice and dedication to the truth at the expense of everything else shows him less a partying prince and more a monarch in waiting.