How Do We Interpret Verses from Ecclesiastes That Seem to Contradict What the Rest of the Bible Says about Heaven?
article
It helps to remember the genre of Ecclesiastes (wisdom literature) and the author’s purpose in writing (to show the futility of seeking happiness in worldly things; of living with a perspective limited to only this present life).