Not a joke at all. So many song lyrics, poems and prose without any attribution. It drives me, well, to the edge. :^(
It’s Polonius’ bit from Hamlet — advice to his son — perhaps one of the most famous pieces in the English language.
p.s.
If I remember correctly, there was even an episode of Gilligan’s Island where they set it to music.