The author uses this rhetorical question to emphasize that man's work is pointless and has no lasting benefit. This question can be written as a statement. Alternate translation: "Mankind gains no profit ... under the sun." (See: [[rc://en/ta/man/translate/figs-rquestion]])