This parable is about the coming of the Bride Groom-Jesus Christ to celebrate His wedding with the church. This is directed to people in the church. There are two groups called out here-those who are ready and those who are not. Those who are wise and those who are foolish. One group has what is needed the other does not.
The Wise and Foolish Bridesmaids