Solomon-Kohelet does not defend the Creator, even though he continually acknowledges Him/Her. Instead, he observes (very dispassionately, like a modern social scientist) the world as it is with all its apparently random outcomes. The “good and just” sometimes suffer evil and calamity in the same way as fools and criminals; the unjust and wicked too often seem to live easy, fat, comfortable lives while the innocent, the good, and the just suffer. He never facilely resorts to blaming God for this state of affairs, nor does he ever mention a ‘devil’, a demon, or any other supernatural entity as an instigator; such things just are. But he still has something to say as to why they are as they are, and his insights are right on target to this day.
The sticking point for we poor, ignorant, superstitious humans, who seem to long for spiritual connection with one another and all the rest of the creation (even as a product of the Big Bang it is a creation, just not one attributed to a ‘Being’), is that we exist as persons with a personality and personal identity. (I hesitate to use the term ‘individual’ with all its increasingly negative and self-absorbed connotations.) We may try to subdue and even strive with yogic might and main to erase this ‘illusory self’, but we are still locked into the locus of our particular point of reference within life and the river of time, place, and experience.