Ecclesiastes 9:1

New American Standard Bible (NASB)
For I have taken all this to my heart and explain [a]it that righteous men, wise men, and their deeds are in the hand of God. Man does not know whether it will be love or hatred; anything [b]awaits him.

Read Ecclesiastes 9:1 in other translations