Jesus’ teachings here are a continuation of His teachings in chapter 24—which relate to Israel during the tribulation period and not the church. The content of the teaching is that they (Israel) should be prepared and ready for His coming, which means that they must be saved and believe in Him. If they are prepared (saved), as is represented by the five prudent virgins, they will be received into His kingdom when He comes; and if they are not prepared, as is represented by the five foolish virgins, then they will be excluded from the kingdom and suffer eternal judgment.
Since this passage deals with the nation of Israel during the tribulation, His coming in this passage has to be the second phase of His coming.
“Then the kingdom of heaven will be comparable to ten virgins, who took their lamps, and went out to meet the bridegroom. 2 “And five of them were foolish, and five were prudent. 3 “For when the foolish took their lamps, they took no oil with them, 4 but the prudent took oil in flasks along with their lamps. 5 “Now while the bridegroom was delaying, they all got drowsy and began to sleep. 6 “But at midnight there was a shout, ‘Behold, the bridegroom! Come out to meet him.’ 7 “Then all those virgins rose, and trimmed their lamps. 8 “And the foolish said to the prudent, ‘Give us some of your oil, for our lamps are going out.’ 9 “But the prudent answered, saying, ‘No, there will not be enough for us and you too; go instead to the dealers and buy some for yourselves.’ 10 “And while they were going away to make the purchase, the bridegroom came, and those who were ready went in with him to the wedding feast; and the door was shut. 11 “And later the other virgins also came, saying, ‘Lord, lord, open up for us.’ 12 “But he answered and said, ‘Truly I say to you, I do not know you.’ 13 “Be on the alert then, for you do not know the day nor the hour.