The Parable of the Ten Virgins
25 “At that time the kingdom of heaven will be like ten virgins who took their lamps and went out to meet the bridegroom. 2 Five of them were foolish and five were wise. 3 The foolish ones took their lamps but did not take any oil with them. 4 The wise ones, however, took oil in jars along with their lamps. 5 The bridegroom was a long time in coming, and they all became drowsy and fell asleep.
6 “At midnight the cry rang out: ‘Here’s the bridegroom! Come out to meet him!’
7 “Then all the virgins woke up and trimmed their lamps. 8 The foolish ones said to the wise, ‘Give us some of your oil; our lamps are going out.’
9 “‘No,’ they replied, ‘there may not be enough for both us and you. Instead, go to those who sell oil and buy some for yourselves.’
10 “But while they were on their way to buy the oil, the bridegroom arrived. The virgins who were ready went in with him to the wedding banquet. And the door was shut.
11 “Later the others also came. ‘Lord, Lord,’ they said, ‘open the door for us!’
12 “But he replied, ‘Truly I tell you, I don’t know you.’
13 “Therefore keep watch, because you do not know the day or the hour.
—
The foolish virgins were unprepared because they lacked oil for their lamps. In many Biblical passages oil is an emblem of the Holy Spirit (such as Zechariah 4:1-7). Without oil the wedding party was not ready for the bridegroom. Without the Holy Spirit, the no one is ready for the return of Jesus.
How can we be sure we are filled with the Holy Spirit?
By bearing the fruits of the spirit – patience, kindness, faithfulness, etc. Although, that being said, we cannot do anything to merit the filling of the Holy Spirit, rather we need to invite him through faith in Jesus.