This quote means that having a sense of humor is an important characteristic to have and can help you get through difficult times. A sense of humor can make it easier for you to take things less seriously and to cope with difficult situations in a positive way. A good sense of humor can help you remain optimistic and resilient, which can make it easier to handle whatever life throws at you. By being able to laugh and make light of tough times and situations, you are more likely to come out of them with confidence and an overall better attitude.