There are also Midrashim on the Canticle, Ruth, Ecclesiastes, Esther and the Psalms, belonging to this later period, the Pirge R.
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."