Ophelia says that Hamlet has made sincere proclamations of his love for her. Polonius answers, Tender yourself more dearly. Polonius means Ophelia should be more careful and judge to whom she has to give her affection.
Shakespeare uses humor in this scene but the humor is subtle as it describes the conflict between Ophelia and her father.
The tone creates despair and disgust among the readers. The story is about her love for Hamlet and loyalty to her father.
Polonius depicts Hamlet as unreliable and to have intentions that are not noble.
It is somehow related because Sad Perfect is a book about a girl who has an eating disorder, as you know this is not an easy thing to deal with so it would not be uncommon to hate your life. It's not a quote from the book but it can relate.