Vanity of vanities
Here’s what it means
The phrase means the greatest degree of vapor-like futility, transience, or inability to yield lasting profit.
Why the Bible says it this way
The writer names two ends of a range to include everything between them.
A helpful detail: The repeated noun intensifies the claim and frames Ecclesiastes’ investigation.