In the given sentence, we can actually deduce that the literary device used is: personification.
<h3>What is personification?</h3>
Personification is known to be a literary device which is used to ascribe human characteristics to inanimate objects and things.
We see that in the sentence, "heaven" is ascribed "knowledge" - to know to put a proper price...
Thus, the personification is used here.
Learn more about personification on brainly.com/question/1013597
#SPJ1