Ecclesiastes 2:13 (ESV)

13 Then I saw that there is more gain in wisdom than in folly, as there is more gain in light than in darkness.

Yet wisdom and folly are not on the same level. A person who wants to live wisely will benefit from it. People who live indifferently and who do not take the future into account, and who do not work on their own development, will find out that it works to their disadvantage later.