Thank you for contacting BibleAsk.
When it comes to the state of the dead, many people often become confused with the concept of the soul and spirit. Notice what Solomon says about death: “Then shall the dust return to the earth as it was: and the spirit shall return unto God who gave it” (Ecclesiastes 12:7). At death everything returns to where it came from; the dust returns to the earth from which it was taken and the spirit returns to God who gave it.
This concept is consistent with the account of how man was created, “And the LORD God formed man of the dust of the ground, and breathed into his nostrils the breath of life; and man became a living soul” (Genesis 2:7). Body + Spirit (breath of God) = Soul (life). And death is merely the opposite of Creation.
Concerning the spirit that goes back to God, we know from James 2:26 that the body without the spirit is dead. The word “spirit” has a marginal reference which reads, “or breath.” The actual root word in the Greek is “pneuma,” a word which means “breath” or “air.” This leads us to the conclusion that the words “breath” and “spirit” are often used interchangeably in the Bible.
This concept is seen throughout the Bible, the psalmist also confirms this truth in Psalms 104:29, 30, “Thou hidest thy face, they are troubled: thou takest away their breath, they die, and return to their dust. Thou sendest forth thy spirit, they are created: and thou renewest the face of the earth.” Here we see that the breath is taken away to God when we die where as in Ecclesiastes 12:7 we see that spirit returns to God at death thus showing that these two words are used interchangeably to mean the same thing.
Another clear example is Job 27:3, “All the while my breath is in me, and the spirit of God is in my nostrils.” What goes through our nostrils? The answer is what we breathe. Therefore, the spirit that returns to God at death is the breath of life, the divine spark of life, or the life-giving energy and nothing more. Nowhere in all of God’s book does the “spirit” have any life, wisdom, or feeling after a person dies. It is the “breath of life” and nothing more.
For more on the Sate of the Dead, check the following link- https://bibleask.org/bible-answers/112-the-intermediate-state/
In His service,