And he confirms this lesson by the judgment of the wise: whence he says: "The heart of the wise is where sadness is": but on the contrary: "The heart of fools is where merriment is": the former seek sorrowful things in the present, the latter pleasant things: John 16: "You shall weep and lament, but the world shall rejoice." And that the former act wisely, and the latter foolishly, is clear from the outcome, because it is said to the sorrowful in Luke 6: "Blessed are you who weep now, for you shall laugh"; and on the contrary to those who rejoice: "Woe to you who laugh, for you shall weep."
Source: Commentary on Ecclesiastes, Chapter 7