a profession of faith does not make you saved.
It depends on what you mean by profession of faith. Are they saying I believe that God exists? Are they saying I believe there was a literal man named Jesus that walked the earth and taught some good things and was murdered?
Or are they saying that they trust in the substitutionary death and shed blood of Jesus Christ, the Lamb of God, who paid my sin debt. Now granted it doesn't have to be in those exact words, but are they getting that point across?
If they are saying the first two examples I would say they don't have an accurate understanding of saving faith. If they are professing the latter than their profession of faith is the real deal at least as far as we humans can see.
As to our passage again if you see and understand that the virigins at least had oil in their lamps then you know they are saved. The question becomes can a child of God lose his/her salvation and will the Holy Spirit leave that child and return them back to their unsaved state.
I believe the Bible clearly teaches that the very moment you believe your eternal destiny is set and can not be changed, because the only way that it could be changed is if God/Christ/Holy Spirit changed, because their works were the only ones involved in the situation. They are never chaning and always the same so it is impossible to lose your salvation.
Therefore there is only one correct way to interpret this passage of Scripture. All 10 were saved.
Let's look at the significance of the numbers. Ten is a number of oridnal completion. The group was not separate but were 10 together. The same type of people. They were all saved virgins.
Isn't it interesting that they were split into two groups of five which is the number for grace.
Wonder why the Holy Spirit didn't split them into 7 and 3 or 8-2 or 6-4, but rather 5-5. Because they are all saved and all had experienced God's grace.
If we will just allow Scripture to interpret Itself, It will NEVER make a mistake. The problem we all face is we allow ourselves to muddy up the picture.
God's Word is ABOSLUTELY AMAZING!!!