Berean Study Bible (BSB) - Ecclesiastes 9:1 >

So I took all this to heart and concluded that the righteous and the wise, as well as their deeds, are in God’s hands. Man does not know what lies ahead, whether love or hate.

Jewish Publication Society of America Version (JPS1917) - Ecclesiastes 9:1 >

For all this I laid to my heart, even to make clear all this: that the righteous, and the wise, and their works, are in the hand of God; whether it be love or hatred, man knoweth it not; all is before them.