First you have to understand they are all what make us and describe us as a person.
23 And the very God of peace sanctify you wholly; and I pray God your whole spirit and soul and body be preserved blameless unto the coming of our Lord Jesus Christ. (1 Thessalonians 5:23)
The Bible uses all three to describe us as a person as you can see where we are called a spirit in this verse
Watch and pray, that ye enter not into temptation: the spirit indeed is willing, but the flesh is weak. (Matthew 26:41)
So all that describes what is a person, perish at the Lake of Fire where they meet their end at the Second Death, scripture.is clear on that.
God's Word reveals we are created with 3 parts:
Heb 4:12
12 For the word of God is quick, and powerful, and sharper than any twoedged sword, piercing even to the dividing asunder of soul and spirit, and of the joints and marrow, and is a discerner of the thoughts and intents of the heart.
KJV
1. soul
2. spirit
3. joints and marrow
1. the 'soul' is about our 'person', what makes each one unique. It is not our flesh, but only live inside our flesh body shell, and leaves when our flesh body dies.
2. the spirit is about our spirit body that also lives inside our flesh shell. It is a body of the heavenly dimension, and this is where many brethren lack Biblical understanding. In 2 Corinthians 5 Apostle Paul said if our earthly house (flesh body) were suddenly dissolved, he said we have another body, a building from God, a house not made with hands, eternal in the heavens (2 Cor.5:1). Paul was pointing to our 'spirit' that dwells inside our flesh body.
Our 'spirit' is not of this earthly dimension, it is of the heavenly dimension, and is attached with our 'soul'. Both our soul & spirit together leave our flesh at flesh death.
3. joints and marrow is about specifically our flesh body, and nothing else.
So when Jesus said in Matthew 10:28 to not fear those who can kill our flesh body, but not our soul, He then said but instead fear Him (The Father) Who can destroy both body (spirit body) and soul in the future "lake of fire" (word Hinnom from the Hebrew is what Jesus used for "hell" there, pointing to the "lake of fire" at the end of Revelation 20).