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.
BSB · Berean Standard Bible
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.

Note I considered…: Heb. I gave, or, set to my heart

KJV · King James Version
For all this I laid to my heart, even to explore all this: that the righteous, and the wise, and their works, are in the hand of God; whether it is love or hatred, man doesn’t know it; all is before them.
WEB · World English Bible
For all this I laid to my heart, even to explore 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.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

considered in my heart
Heb. gave, or set to my heart.
Ecclesiastes 1:17; Ecclesiastes 7:25; Ecclesiastes 8:16; Ecclesiastes 12:9, 10
that the
Ecclesiastes 8:14; Deuteronomy 33:3; 1 Samuel 2:9; 2 Samuel 15:25, 26; Job 5:8; Psalm 10:14; Psalm 31:5; Psalm 37:5, 6; Proverbs 16:3; Isaiah 26:12; Isaiah 49:1–4; Jeremiah 1:18, 19; John 10:27–30; 1 Corinthians 3:5–15; 2 Timothy 1:12; 1 Peter 1:5
no man
Ecclesiastes 7:15; Psalm 73:3, 11–13; Malachi 3:15–18