The wise ones, however, took oil in jars along with their lamps. (Mt 25: 4)
At that time the kingdom of heaven will be like ten virgins who took their lamps and went out to meet the bridegroom. Five of them were foolish and five were wise. The foolish ones took their lamps but did not take any oil with them. The wise ones, however, took oil in jars along with their lamps. The bridegroom was a long time in coming, and they all became drowsy and fell asleep. “At midnight the cry rang out: ‘Here’s the bridegroom! Come out to meet him!’ “Then all the virgins woke up and trimmed their lamps. The foolish ones said to the wise, ‘Give us some of your oil; our lamps are going out.’ “‘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.’ “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. “Later the others also came. ‘Lord, Lord,’ they said, ‘open the door for us!’ “But he replied, ‘Truly I tell you, I don’t know you.’ “Therefore keep watch, because you do not know the day or the hour. (Mt 25: 1-13)
Whoever suffers from vainglory aims to please men more than God. Thus, when the vainglorious person will have his particular judgment before God, which will be about his faith, hope and charity, he will be deprived of the oil of faith because God cannot be deceived like men who, even with mature judgments, can be fooled by appearances. We fight every moment against vainglory, trying to please God more than men and confessing our sins often to a priest.