Ecclesiastes 1:17

And I set my mind to know [practical] wisdom and to discern [the character of] madness and folly [in which men seem to find satisfaction]; I realized that this too is a futile grasping and chasing after the wind.

Ecclesiastes 2:3

I explored with my mind how to gratify myself with wine while [at the same time] having my mind remain steady and guide me wisely; and how to take control of foolishness, until I could see what was good for the sons of men to do under heaven all the days of their lives.

Ecclesiastes 1:13-14

And I set my mind to seek and explore by [man’s] wisdom all [human activity] that has been done under heaven. It is a miserable business and a burdensome task which God has given the sons of men with which to be busy and distressed.

Ecclesiastes 2:10-12

Whatever my eyes looked at with desire I did not refuse them. I did not withhold from my heart any pleasure, for my heart was pleased because of all my labor; and this was my reward for all my labor.

Ecclesiastes 7:23-25

I have tested all this with wisdom. I said, “I will be wise [independently of God],” but true wisdom was far from me.

1 Thessalonians 5:21

But test all things carefully [so you can recognize what is good]. Hold firmly to that which is good.

Treasury of Scripture Knowledge

Summary

And I gave my heart to know wisdom, and to know madness and folly: I perceived that this also is vexation of spirit.

I perceived

Bible References

I gave

Ecclesiastes 1:13
And I set my mind to seek and explore by [man’s] wisdom all [human activity] that has been done under heaven. It is a miserable business and a burdensome task which God has given the sons of men with which to be busy and distressed.
Ecclesiastes 2:3
I explored with my mind how to gratify myself with wine while [at the same time] having my mind remain steady and guide me wisely; and how to take control of foolishness, until I could see what was good for the sons of men to do under heaven all the days of their lives.
Ecclesiastes 7:23
I have tested all this with wisdom. I said, “I will be wise [independently of God],” but true wisdom was far from me.
1 Thessalonians 5:21
But test all things carefully [so you can recognize what is good]. Hold firmly to that which is good.

I perceived

Ecclesiastes 2:10
Whatever my eyes looked at with desire I did not refuse them. I did not withhold from my heart any pleasure, for my heart was pleased because of all my labor; and this was my reward for all my labor.

General references

Ecclesiastes 1:14
I have seen all the works which have been done under the sun, and behold, all is vanity, a futile grasping and chasing after the wind.
Ecclesiastes 6:11
For there are many other words that increase futility. What then is the advantage for a man?