Ecclesiastes 2:7

2:7 I purchased male and female slaves,

and I owned slaves who were born in my house;

I also possessed more livestock – both herds and flocks –

than any of my predecessors in Jerusalem.

Ecclesiastes 2:10

2:10 I did not restrain myself from getting whatever I wanted;

I did not deny myself anything that would bring me pleasure.

So all my accomplishments gave me joy;

this was my reward for all my effort.

Ecclesiastes 2:15

2:15 So I thought to myself, “The fate of the fool will happen even to me!

Then what did I gain by becoming so excessively wise?”

So I lamented to myself,

“The benefits of wisdom are ultimately meaningless!”