What is the meaning of [it’s better to be happy than wise]

Happiness is more important than wisdom, knowledge, or learning.