“I have seen that there is an advantage to wisdom over folly, like the advantage of light over darkness” (Ecclesiastes 2:13). “I have seen that there is an advantage” – it is taught in the name of Rabbi Meir: Just as there is an advantage to light over darkness, so, there is an advantage to matters of Torah over matters of vanity.
Grasping at Shadows in the Search for Meaning
Kohelet Rabbah 13:1