Ecclesiastes 4:16
There is no end of all the people, even of all that have been before them: they also that come after shall not rejoice in him. Surely this also is vanity and vexation of spirit.
Cross-reference
Ecclesiastes 1:14 provides the exact refrain 'vanity and striving after wind' that is repeated here to sum up the futility of seeking lasting acclaim.
Ecclesiastes 1:2 opens with 'vanity of vanities, all is vanity,' the book's motto that this verse echoes, reinforcing the theme of transience.
Ecclesiastes 2:11 concludes that all labor is vanity, the same verdict applied here to the fleeting popularity of a leader.
Ecclesiastes 2:17 expresses hatred of life due to the vanity of work, paralleling the frustration with the transience of public acclaim.
Ecclesiastes 5:10 echoes the same vanity theme: just as popularity fades, wealth never satisfies — both are 'vanity' under the sun.
Ecclesiastes 6:11 reinforces the vanity theme: many things, like fleeting popularity, only increase futility. Same teacher.
Ecclesiastes 11:8 similarly concludes 'all that cometh is vanity' — a reminder that even long life and joy are fleeting, like popularity.
2 Samuel 19:9 shows the people's fickle allegiance, complaining about David even after his deliverance — directly illustrating the transience of popular support described here.