Translations
I turned all of this over in my heart, examining it thoroughly: the righteous and the wise, and everything they do, rest in God's hands. Love or hate — no one knows what lies ahead of them.
For all this I turned over within my heart — to sift it through: that the righteous and the wise, along with their deeds, are in the hand of Elohim. Whether love or hatred — no one knows; all lies before them.
For all this I considered in my heart even to declare all this, that the righteous, and the wise, and their works, are in the hand of God: no man knoweth either love or hatred by all that is before them.
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.

