John Gill's Exposition of the Whole Bible
Ecclesiastes 1:2
Vanity of vanities, saith the preacher,.... This is the preacher's text; the theme and subject he after enlarges upon, and proves by an induction of particulars; it is the sum of the whole book;
vanity of vanities, all [is] vanity; most extremely vain, exceedingly so, the height of vanity: this is repeated, both for the confirmation of it, men being hard of belief of it; and to show how much the preacher was affected with it himself, and to affect others with the same. The Targum reads, "vanity of vanities [in] this world"; which is right as to the sense of the passage; for though the world, and all things in it, were made by God, and are very good; yet, in comparison of him, are less than nothing, and vanity; and especially as become subject to it through sin, a curse being brought upon the earth by it; and all the creatures made for the use of men liable to be abused, and are abused, through luxury, intemperance, and cruelty; and the whole world usurped by Satan, as the god of it. Nor is there anything in it, and put it all together, that can give satisfaction and contentment; and all is fickle, fluid, transitory, and vanishing, and in a short time will come to an end: the riches of the world afford no real happiness, having no substance in them, and being of no long continuance; nor can a man procure happiness for himself or others, or avert wrath to come, and secure from it; and especially these are vanity, when compared with the true riches, the riches of grace and glory, which are solid, substantial, satisfying, and are for ever: the honours of this world are empty things, last a very short time; and are nothing in comparison of the honour that comes from God, and all the saints have, in the enjoyment of grace here, and glory hereafter: the sinful pleasures of life are imaginary things, short lived ones; and not to be mentioned with spiritual pleasures, enjoyed in the house of God, under the word and ordinances; and especially with those pleasures, for evermore, at the right hand of God. Natural wisdom and knowledge, the best thing in the world; yet much of it is only in opinion; a great deal of it false; and none saving, and of any worth, in comparison of the knowledge of Christ, and of God in Christ; all the forms of religion and external righteousness, where there is not the true fear and grace of God, are all vain and empty things. Man, the principal creature in the world, is "vain man"; that is his proper character in nature and religion, destitute of grace: every than is vain, nay, vanity itself; high and low, rich and poor, learned or unlearned; nay, man at his best estate, as worldly and natural, is so; as even Adam was in his state of innocence, being fickle and mutable, and hence he fell, Psalms 39:5; and especially his fallen posterity, whose bodies are tenements of clay; their beauty vain and deceitful; their circumstances changeable; their minds empty of all that is good; their thoughts and imaginations vain; their words, and works, and actions, and their whole life and conversation; they are not at all to be trusted in for help, by themselves or others. The Targum is,
"when Solomon, king of Israel, saw, by the spirit of prophecy, that the kingdom of Rehoboam his son would be divided with Jeroboam, the son of Nebat; and that Jerusalem, and the house of the sanctuary, would be destroyed, and the people of the children of Israel would be carried captive; he said, by his word, Vanity of vanities in this world, vanity of vanities; all that I and my father David have laboured for, all is vanity!''