Ecclesiastes 9:10 (NKJV) Whatever your hand finds to do, do it with your might; for there is no work or device or knowledge or wisdom in the grave where you are going.

Solomon is speaking of the physical body. Life for the physical body ends at the grave. Solomon is talking about the physical body, not the spirit of a man. It is the physical body that will be buried. But if you are a child of God by faith in the Lord Jesus Christ His Son, then you will go into the presence of God for all eternity. However, if you are not a child of God, then you will go to hell until you are brought before Christ to be judged at the Great White Throne. Then you will suffer the second death in the lake of fire. But “Blessed and holy is he who has part in the first resurrection. Over such the second death has no power, but they shall be priests of God and of Christ, and shall reign with Him a thousand years” (Revelation 20:6 NKJV).

God Bless and have a great day in God’s Word.