For it was for the sake of trial, and in accordance with what comes by the loftier and the severe life, that he entered into pleasure. And he makes mention of the mirth, which men call so. And he says, "in good," referring to what men call good things, which are not capable of giving life to their possessor, and which make the man who engages in them vain like themselves.
2. "I said of laughter, It is mad;  and of mirth, What doest thou?"
Laughter has a twofold madness; because madness begets laughter, and does not allow the sorrowing for sins; and also because a man of that sort is possessed with madness,  in the confusing of seasons, and places, and persons. For he flees from those who sorrow. "And to mirth, What doest thou?" Why dost thou repair to those who are not at liberty to be merry? Why to the drunken, and the avaricious, and the rapacious? And why this phrase, "as wine?"  Because wine makes the heart merry; and it acts upon the poor in spirit. The flesh, however, also makes the heart merry, when it acts in a regular and moderate fashion.
3. "And my heart directed me in wisdom, and to overcome in mirth, until I should know what is that good thing to the sons of men which they shall do under the sun for the number of the days of their life."
Being directed, he says, by wisdom, I overcame pleasures in mirth. Moreover, for me the aim of knowledge was to occupy myself with nothing vain, but to find the good; for if a person finds that, he does not miss the discernment also of the profitable. The sufficient is also the opportune,  and is commensurate with the length of life.
4. "I made me great works; I builded me houses; I planted me vineyards.
5. I made me gardens and orchards.
6. I made me pools of water, that by these I might rear woods producing trees.
7. I got me servants and maidens, and had servants born in my house; also I had large possessions of great and small cattle above all that were in Jerusalem before me.
8. I gathered me also silver and gold, and the peculiar treasure of kings and of the provinces. I gat me men-singers and women-singers, and the delights of the sons of men, as cups and the cupbearer.
9. And I was great, and increased more than all that were before me in Jerusalem: also my wisdom remained with me.
10. And whatsoever mine eyes desired, I kept not from them; I withheld not my heart from any pleasure."
You see how he reckons up a multitude of houses and fields, and the other things which he mentions, and then finds nothing profitable in them. For neither was he any better in soul by reason of these things, nor by their means did he gain friendship with God. Necessarily he is led to speak also of the true riches and the abiding property. Being minded, therefore, to show what kinds of possessions remain with the possessor, and continue steadily and maintain themselves for him, he adds: "Also my wisdom remained with me." For this alone remains, and all these other things, which he has already reckoned up, flee away and depart. Wisdom, therefore, remained with me, and I remained in virtue of it. For those other things fall, and also cause the fall of the very persons who run after them. But, with the intention of instituting a comparison between wisdom and those things which are held to be good among men, he adds these words, "And whatsoever mine eyes desired, I kept not from them," and so forth; whereby he describes as evil, not only those toils which they endure who toil in gratifying themselves with pleasures, but those, too, which by necessity and constraint men have to sustain for their maintenance day by day, labouring at their different occupations in the sweat of their faces. For the labour, he says, is great; but the art  by the labour is temporary, adding  nothing serviceable among things that please. Wherefore there is no profit. For where there is no excellence there is no profit. With reason, therefore, are the objects of such solicitude but vanity, and the spirit's choice. Now this name of "spirit" he gives to the "soul." For choice is a quality, not a motion.  And David says: "Into Thy hands I commit my spirit."  And in good truth "did my wisdom remain with me," for it made me know and understand, so as to enable me to speak of all that is not advantageous  under the sun. If, therefore, we desire the righteously profitable, if we seek the truly advantageous, if it is our aim to be incorruptible, let us engage those labours which reach beyond the sun. For in these there is no vanity, and there is not the choice of a spirit at once inane and hurried hither and thither to no purpose.
12. "And I turned myself to behold wisdom, and madness, and folly: for what man is there that shall come after counsel in all those things which it has done?" 
He means the wisdom which comes from God, and which also remained with him. And by madness and folly he designates all the labours of men, and the vain and silly pleasure they have in them. Distinguishing these, therefore, and their measure, and blessing the true wisdom, he has added: "For what man is there that shall come after counsel?" For this counsel instructs us in the wisdom that is such indeed, and gifts us with deliverance from madness and folly.
13. "Then I saw that wisdom excelleth folly, as much as light excelleth darkness."
He does not say this in the way of comparison. For things which are contrary to each other, and mutually destructive, cannot be compared. But his decision was, that the one is to be chosen, and the other avoided. To like effect is the saying, "Men loved darkness rather than light."  For the term "rather" in that passage expresses the choice of the person loving, and not the comparison of the objects themselves.
14. "The wise man's eyes are in his head, but the fool walketh in darkness."
That man always inclines earthward, he means, and has the ruling faculty  darkened. It is true, indeed, that we men have all of us our eyes in our head, if we speak of the mere disposition of the body. But he speaks here of the eyes of the mind. For as the eyes of the swine do not turn naturally up towards heaven, just because it is made by nature to have an inclination toward the belly; so the mind of the man who has once been enervated by pleasures is not easily diverted from the tendency thus assumed, because he has not "respect unto all the commandments of the Lord."  Again: "Christ is the head of the Church."  And they, therefore, are the wise who walk in His way; for He Himself has said, "I am the way."  On this account, then, it becomes the wise man always to keep the eyes of his mind directed toward Christ Himself, in order that he may do nothing out of measure, neither being lifted up in heart in the time of prosperity, nor becoming negligent in the day of adversity: "for His judgments are a great deep,"  as you will learn more exactly from what is to follow.
14. "And I perceived myself also that one event happeneth to them all.
15. Then said I in my heart, As it happeneth to the fool, so it happeneth even to me; and why was I then more wise?"
The run of the discourse in what follows deals with those who are of a mean spirit as regards this present life, and in whose judgment the article of death and all the anomalous pains of the body are a kind of dreaded evil, and who on this account hold that there is no profit in a life of virtue, because there is no difference made in ills like these between the wise man and the fool. He speaks consequently of these as the words of a madness inclining to utter senselessness; whence he also adds this sentence, "For the fool talks over-much;"  and by the "fool" here he means himself, and every one who reasons in that way. Accordingly he condemns this absurd way of thinking. And for the same reason he has given utterance to such sentiments in the fears of his heart; and dreading the righteous condemnation of those who are to be heard, he solves the difficulty in its pressure by his own reflections. For this word, "Why was I then wise?" was the word of a man in doubt and difficulty whether what is expended on wisdom is done well or to no purpose; and whether there is no difference between the wise man and the fool in point of advantage, seeing that the former is involved equally with the latter in the same sufferings which happen in this present world. And for this reason he says, "I spoke over-largely  in my heart," in thinking that there is no difference between the wise man and the fool.
16. "For there is no remembrance of the wise equally with the fool forever."
For the events that happen in this life are all transitory, be they even the painful incidents, of which he says, "As all things now are consigned to oblivion."  For after a short space has passed by, all the things that befall men in this life perish in forgetfulness. Yea, the very persons to whom these things have happened are not remembered all in like manner, even although they may have gone through like chances in life. For they are not remembered for these, but only for what they may have evinced of wisdom or folly, virtue or vice. The memories of such are not extinguished (equally) among men in consequence of the changes of lot befalling them. Wherefore he has added this: "And how shall the wise man die along with the fool? The death of sinners, indeed, is evil: yet the memory of the just is blessed, but the name of the wicked is extinguished." 
22. "For that falls to man in all his labour."
In truth, to those who occupy their minds with the distractions of life, life becomes a painful thing, which, as it were, wounds the heart with its goads, that is, with the lustful desires of increase. And sorrowful also is the solicitude connected with covetousness: it does not so much gratify those who are successful in it, as it pains those who are unsuccessful; while the day is spent in laborious anxieties, and the night puts sleep to flight from the eyes, with the cares of making gain. Vain, therefore, is the zeal of the man who looks to these things.
24. "And there is nothing good for a man, but what he eats and drinks, and what will show to his soul good in his labour. This also I saw, that it is from the hand of God.
25. For who eats and drinks from his own resources?"  That the discourse does not deal now with material meats, he will show by what follows; namely, "It is better to go to the house of mourning than to go to the house of feasting."  And so in the present passage he proceeds to add: "And (what) will show to his soul good in its labour." And surely mere material meats and drinks are not the soul's good. For the flesh, when luxuriously nurtured, wars against the soul, and rises in revolt against the spirit. And how should not intemperate eatings and drinkings also be contrary to God?  He speaks, therefore, of things mystical. For no one shall partake of the spiritual table, but one who is called by Him, and who has listened to the wisdom which says, "Take and eat." 
 periphoran.  peripheretai.  hos oinon.  Or, temporary.  techne.  Reading prostitheisa for protitheisa.  poion ou kinesis.  Psalm 31:5.  perisseia.  hos eleusetai opiso tes boules sumpanta hosa epoiesen haute.  John 3:19.  to hegemonikon.  Psalm 119:6.  Ephesians 5:23.  John 14:6.  Psalm 36:6.  ek perisseumatos.  perisson.  kathoti ede ta panta epelesthe.  Proverbs 10:7.  par' autou.  Ecclesiastes 7:2.  The text gives, pos de kai ouk parek Theou asoton bromaton kai methe.  Proverbs 9:5.
 hos oinon.
 Or, temporary.
 Reading prostitheisa for protitheisa.
 poion ou kinesis.
 Psalm 31:5.
 hos eleusetai opiso tes boules sumpanta hosa epoiesen haute.
 John 3:19.
 to hegemonikon.
 Psalm 119:6.
 Ephesians 5:23.
 John 14:6.
 Psalm 36:6.
 ek perisseumatos.
 kathoti ede ta panta epelesthe.
 Proverbs 10:7.
 par' autou.
 Ecclesiastes 7:2.
 The text gives, pos de kai ouk parek Theou asoton bromaton kai methe.
 Proverbs 9:5.