It comes from a deeper study of the scripture Willie.
The ten virgins are all believers. Five of them have oil and five don't. After Jesus presents the parable he then says, "Therefore keep watch, because you do not know the day or the hour." Therefore, the oil represents ready watchfulness. The five foolish virgins didn't have any oil and therefore represent those believers as not being ready and watchful.
"Avoid godless chatter, because those who indulge in it will become more and more ungodly. Their teaching will spread like gangrene. Among them are Hymenaeus and Philetus, who have departed from the truth. They say that the resurrection has already taken place, and they destroy the faith of some.
Hymeneus and Philetus in preaching that the resurrection had already taken place, were said to have wandered from the truth. Since the church is still in the process of being built and the Lord has yet to gather his church, then those who are currently teaching the same as Hymeneus and Philetus are guilty of the same, having wandered from the truth.
It's not that difficult to compare the two.