Another scripture that verifies that man is a spirit, has a soul and lives in a body is Hebrews 4:12 which says:
For the word of God is alive and powerful and sharper than a 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.
This scripture is saying to believers that the word of God will help them to discern whether they are living a life led by the Spirit of God, their soul (their mind and its reasoning, their will or desires), or by the dictates of their flesh. While this explanation might be a little difficult to grasp at this time, understanding will come to those who depend on the Holy Spirit for understanding and revelation of the word of God.