To know madness and folly - A knowledge of folly would help him to discern wisdom, and to exercise that chief function of practical wisdom - to avoid folly.
Related Commentaries of Ecclesiastes 1:17
Ecclesiastes 1:17
17 And I gave my heart to know wisdom, and to know madness and folly: I perceived that this also is vexation of spirit.