Ultimately there will be one standard that will rule. “One ring to rule them all!” That rule or standard could be imposed by a dictator, or it could be imposed by a democratic majority. Either way, someone or some group is going to set the standard by which society is governed.
The writer of Ecclesiastes comes out of the struggle of opposing worldviews as a believer. In the final analysis there is nothing in Ecclesiastes that teaches contrary to the immortality of the soul, of eternity, of God’s goodness, and of certain accountability in a final judgment. In the end he comes out with a Christian Worldview!