“A loyal friend laughs at your jokes when they're not so good, and sympathizes with your problems when they're not so bad.”
The idea behind the quotation
A loyal friend enjoys your company and offers sympathy, even when your jokes or problems do not seem especially funny or serious.