This quote means that the most enjoyable parts of life are not the moments that are perfect and without any problems, but rather the moments that are somehow flawed in some way. These imperfect moments might have difficulties or problems, but their imperfections add character and make them interesting. They are the moments that are the most memorable and special.