here is the full excerpt for this question,
She dwells with Beauty--Beauty that must die; And Joy, whose hand is ever at his lips Bidding adieu; and aching Pleasure nigh, Turning to poison while the bee-mouth sips: Ay, in the very temple of Delight Veil'd Melancholy has her sovran shrine, Though seen of none save him whose strenuous tongue Can burst Joy's grape against his palate fine; His soul shall taste the sadness of her might, And be among her cloudy trophies hung.
the type of figurative language used in this excerpt is: Personification
Personafication is a form of figurative language that gives human attribute into a non-living object. From the excerpt, we can see it on: His soul shall taste the sadness of her might, (Soul is a non-living object that couldn't taste anything)