The Teacher realized that using wine to cheer himself was foolish, yet he did it while still seeking wisdom. He wanted to understand how to find happiness. This effort turned out to be pointless (Ecclesiastes 2:11).
the few days of their lives: All human experiences are like "a breath."