This quote means that feeling cheerful and happy is a good indication that someone is wise. Wisdom is not just about being intelligent and knowledgeable, but also about having a positive attitude towards life. A person who is wise will be able to manage their emotions, maintain a positive outlook even in difficult times, and appreciate the joys of life.