Shakespeare's Hamlet is a play rife with moral dilemmas. Religious codes often clash with desires and instinctual feelings in the minds of the characters, calling into question which courses of action are truly the righteous paths. In Hamlet's case, such conundrums are debilitating and cause a frustrating, eventually fatal lack of action. Indeed, the absence of moral clarity in the play is arguably the root of most of the tragedy that is played out in the final scenes. Because of this, the issues in Hamlet provide an excellent basis from which to delve into an exploration of how religion motivates human actions. The characters' dilemmas concerning two great moral questions, suicide and murder, demonstrate the centrality of this motivation, both within the confines of the play and within the larger scope of human society.
Although Hamlet sees nobility of man, the beauty of women and the majesty of the universe his imagination dwells on bones, the nasty, sty the prison. Therefore there is connection between the death wish and the image of the corrupt world; “tis an unweeded garden/ that grows to seed; things rank and gross in nature/possess it merely”. The “mildew’d ear”, the ulcer, the imposture grow and infect, hamlet therefore sees fertility as manifesting itself in the vile forms of life. Therefore he cannot bear to bring his love to fruition and thus shuns marriage and procreation, which is where the Ophelia subplots illuminates the central theme. Hamlet denies his own nature, declining to act out the part that life purposes him.