בִּקֵּ֣שׁ קֹהֶ֔לֶת לִמְצֹ֖א דִּבְרֵי־חֵ֑פֶץ וְכָת֥וּב יֹ֖שֶׁר דִּבְרֵ֥י אֱמֶֽת׃
Koheleth sought to find out words of delight, and that which was written uprightly, even words of truth.
Read Jewish philosophical commentary on Ecclesiastes 12:10: and classical philosophical sources.