Ecclesiastes 2:13-14

2:13 I realized that wisdom is preferable to folly,

just as light is preferable to darkness:

2:14 The wise man can see where he is going, but the fool walks in darkness.

Yet I also realized that the same fate happens to them both.