The Pentateuch (or Hexateuch) was finally completed in its present form at some time before 400 B.C. The latest parts of the Old Testament are the books of Chronicles, Ezra and Nehemiah (c. 330 B.C.), Ecclesiastes and Esther (3rd century) and Daniel, composed either in the 3rd century or according to some views as late as the time of Antiochus Epiphanes (c. 168 B.C.).
Wollaston also published anonymously a small book, On the Design of the Book of Ecclesiastes, or the Unreasonableness of Men's Restless Contention for the Present Enjoyments, represented in an English Poem (London, 1691).
Perhaps the most characteristic example of unsystematic pessimism is the language of Ecclesiastes, who concludes that "all is vanity."
The Greek ecclesiastes means one who takes part in the deliberations of an assembly (ecclesia), a debater or speaker in an assembly (Plato, Gorgias, 452 E), and this is the general sense of the Hebrew word.
The extant writings of the Jewish sages are contained in the books of Job, Proverbs, Psalms, Ben-Sira, Tobit, Ecclesiastes, Wisdom of Solomon, 4th Maccabees, to which may be added the first chapter of Pirke Aboth (a Talmudic tract giving, probably, pre-Christian material).