Ecclesiastes 2:3

I searched in my heart how to gratify my flesh with wine, while guiding my heart with wisdom, and how to lay hold on folly, till I might see what was good for the sons of men to do under heaven all the days of their lives.

Surrounding context

2:2 I said of laughter--"Madness!"; and of mirth, "What does it accomplish?"

2:3 I searched in my heart how to gratify my flesh with wine, while guiding my heart with wisdom, and how to lay hold on folly, till I might see what was good for the sons of men to do under heaven all the days of their lives.

2:4 I made my works great, I built myself houses, and planted myself vineyards.

Translation and sources