Most of mankind knows that man is made up of body and soul while assuming the soul and spirit are the same, but the soul and spirit are two separate parts of our being. Our primary substance is spirit because God is Spirit.
John 4:24 “God is Spirit, and those who worship Him must worship in spirit and truth.”
Our spirit is more real than our soul or our body. Let’s look at Hebrews and 1 Thes. 5:23.
Heb. 4:12 “For the word of God is living and powerful, and sharper than any two-edged sword, piercing even to the division of soul and spirit, and of joints and marrow, and is a discerner of the thoughts and intents of the heart.”
1 Thes. 5:23 “Now may the God of peace Himself sanctify you completely; and may your whole spirit, soul, and body be preserved blameless at the coming of our Lord Jesus Christ.”
We are a spirit that has a soul that lives in a body. Our body is the outer shell, the tent that Paul and Peter speak of in 2 Corinthians and 2 Peter:
2 Cor. 5:1 “For we know that if our earthly house (physical body) this tent, is destroyed, we have a building from God, a house not made with hands, eternal in the heavens”
2 Pet. 1:13,14 "Yes, I think it is right, as long as I am in this tent, to stir you up by reminding you, knowing that shortly I must put off my tent, just as our Lord Jesus Christ showed me“.
So then, our body is the house for our spirit and soul. Upon our bodily death, we just shed the figurative house or tent, and our soul and spirit live forever.