Question: why ecclesiastes is in the bible?
Answer: For Balthasar, the role of Ecclesiastes in the Biblical canon is to represent the "final dance on the part of wisdom, [the] conclusion of the ways of man", a logical end-point to the unfolding of human wisdom in the Old Testament that paves the way for the advent of the New.