For what hath the wise more than the fool? what hath the poor, that knoweth to walk before the living? Ecclesiastes 6:8 (KJV)
It seems there are two studies here: (1) wise over the fool, and (2) poor over the rich. In both cases, the former is thought to be better off than the latter; but Qoheleth seems to states – this may not be so. This enigmatic situation is formulated appropriately by Bartholomew, “… (it) refers back to 5:8-9. Wisdom is all about skill in living, but what value is it to the poor if their lot is to be oppressed and exploited? How can wisdom help the poor if rising out of poverty, that is, becoming wealthy—one of the things wisdom is meant to produce (cf. Prov. 3:9–10) merely compounds the problem of the meaning of life?” (202-203) Without God, our skills amount to nothing.
Reference:
Bartholomew, C. (2009). Ecclesiastes, Baker Academic