the use of allegory in shakespeares play macbeth Macbeth, by william shakespeare, is a tragedy that combines fact and legend to tell the story of an eleventh century king shakespeare uses numerous types of literary techniques to make this tragic play more appealing.