Ecclesiastes 12:9

And moreover, because the Preacher was wise, he still taught the people knowledge; yes, he pondered and sought out and set in order many proverbs.

Surrounding context

12:8 "Vanity of vanities," says the Preacher, "All is vanity."

12:9 And moreover, because the Preacher was wise, he still taught the people knowledge; yes, he pondered and sought out and set in order many proverbs.

12:10 The Preacher sought to find acceptable words; and what was written was upright-- words of truth.

Translation and sources