Ecclesiastes 1:17

And I set my mind to know wisdom and to know madness and folly; I realized that this also is striving after wind.

Ecclesiastes 2:3

I explored with my mind how to stimulate my body with wine while my mind was guiding me wisely, and how to take hold of folly, until I could see what good there is for the sons of men to do under heaven the few years of their lives.

Ecclesiastes 1:13-14

And I set my mind to seek and explore by wisdom concerning all that has been done under heaven. It is a grievous task which God has given to the sons of men to be afflicted with.

Ecclesiastes 2:10-12

All that my eyes desired I did not refuse them. I did not withhold my heart from 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 tested all this with wisdom, and I said, “I will be wise,” but it was far from me.

1 Thessalonians 5:21

But examine everything carefully; hold fast 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 wisdom concerning all that has been done under heaven. It is a grievous task which God has given to the sons of men to be afflicted with.
Ecclesiastes 2:3
I explored with my mind how to stimulate my body with wine while my mind was guiding me wisely, and how to take hold of folly, until I could see what good there is for the sons of men to do under heaven the few years of their lives.
Ecclesiastes 7:23
I tested all this with wisdom, and I said, “I will be wise,” but it was far from me.
1 Thessalonians 5:21
But examine everything carefully; hold fast to that which is good;

I perceived

Ecclesiastes 2:10
All that my eyes desired I did not refuse them. I did not withhold my heart from 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 and striving after wind.
Ecclesiastes 6:11
For there are many words which increase futility. What then is the advantage to a man?