That one starts with a glaring hallucination "he didn't understand, nobody understood, not then or now...". But the second part is IMO better than the Ecclasiast, which has outdated phrasing ("nor yet riches to men of understanding").
> When I look under the sun, it's not the swift who win races, nor the strong who win battles, nor the wise who earn bread, nor the smart who gain riches, nor the skilled who gain favor. Ultimately, it's the lucky; every contest has a degree of unpredictability and chance.