This quote means that when you find something funny in a difficult situation, it can help you to look at your problems in a new way. This fresh perspective can help you find ways to solve them more easily. Instead of feeling overwhelmed and stuck, you can start to see the problem in different terms and think of creative solutions.