And I gave my heart to know wisdom and knowledge and to know folly and those who are mad; I learned in the end that this also is vexation of spirit.