This was not selfishness or unkindness. The kind of oil that is needed to illuminate the way and light up the darkness is not shareable. How can one share obedience to the principle of tithing; a mind at peace from righteous living; an accumulation of knowledge? How can one share faith or testimony? How can one share attitudes or chastity, or the experience of a mission? How can one share temple privileges? Each must obtain that kind of oil for himself.
The foolish virgins were not averse to buying oil. They knew they should have oil. They merely procrastinated, not knowing when the bridegroom would come.
In the parable, oil can be purchased at the market. In our lives, the oil of preparedness is accumulated drop by drop in righteous living. Attendance at sacrament meetings adds oil to our lamps, drop by drop over the years. Fasting, family prayer, home teaching, control of bodily appetites, preaching the gospel, studying the scriptures- each act of dedication and obedience is a drop added to our store. Deeds of kindness, payment of offerings and tithes, chaste thoughts and actions, marriage in the covenant for eternity-these, too, contribute importantly to the oil with which we can, at midnight, refuel our exhausted lamps.
(Book: "Faith Precedes the Miracle," pp. 255-256)