Solomon marches onward in his observations about the dead and the living, before we get into the text, we should remember that Solomon is making these observations from a hypothetical standpoint that there is no life after this one.
His position in this series of scripture is that you live and then after that, there is nothing.
Ecc 9:4 There is hope only for the living. As they say, “It’s better to be a live dog than a dead lion!”
That’s an interesting contrast there, Solomon here says, a lowly dog that is alive, is better off that a mighty lion that is dead.
Again, he is approaching this from a perspective that doesn’t take into account that there is life after death. His focus here is solely on the here and now, as he tells us in the next two verses:
Ecc 9:5 For the living know they will die; but the dead do not know anything, nor have they any longer a reward, for their memory is forgotten.
Ecc 9:6 Indeed their love, their hate and their zeal have already perished, and they will no longer have a share in all that is done under the sun.
That’s a very poignant observation from Solomon, the love and hate and vim and vigor no longer exists in us when we are dead.
This seems like a sad reality, but we are reminded of the eternal assurance that we have in Christ Jesus, as He tells us, those who believe in Me will have enteral life!
So while we may die tomorrow, once we are in Christ, we are His forever, not like the limited life that Solomon spells out for us today.
Christ also gives a stern warning in the parable of Lazarus and the Rich Man, Lazarus lived a pretty crummy life on earth, but the rich man who wanted nothing to do with Lazarus in this life, went to hell and the first thing he asked for was water and to warn his relatives to repent.
In the sphere of eternity, it is much more sensible to trust in Christ, the all-knowing, than hinging our beliefs that life is going to end when we die and there is no heaven or no hell. We can see the rich man regretting this in a big way when he was on the wrong side of heaven.