Ecclesiastes 7:16-17

7:16 So do not be excessively righteous or excessively wise;

otherwise you might be disappointed.

7:17 Do not be excessively wicked and do not be a fool;

otherwise you might die before your time.

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!”