Ecclesiastes represents a kind of fatalism in thinking. Yes things do seem to be cyclical, but it can be a forwards spiral, not just a circle.
Vanity of vanities! All is vanity. . . What has been is what will be. And what has been done is what will be done; And there is nothing new under the sun. (Ecclesiastes i, 2, 9)