This about the fake believers of Jesus Christ. Those believers who are not committed to the things of God. Those who are not able to persevere to the end for the second coming of Jesus Christ. They are going to be denied entry into the Heaven's gate.
Mathew 7 : 21 Not everyone who says to me Lord Lord, will enter the Kingdom of Heaven but the ones who does the will of my Father who is in Heaven.
The Ten Virgins had Five foolish virgins and Five wise Virgins. The Foolish virgins were the unprepared believers, the Wise Virgins were the prepared virgins.
This Parable does not describe a true believer who loses his salvation, but a false believer whose commitment to Jesus was deficient from the start.
The Parable warns against making inadequate preparations for the long delay before his second coming.
Mathew 25 :1 - 13
Holman KJV Bible
https://m.facebook.com/story.php?story_fbid=145925567201564&id=114896783637776