Oil was a symbol of the Holy Spirit. When men anointed the young king with oil, it signified that God was setting him apart for divine service, equipping him with His grace.
God anoints each of us when we consecrate ourselves to Him, giving us the Holy Spirit to prepare us for His work.
There’s a story about a Russian prince who was in Paris with some wealthy companions who spent their time in wild partying. One night, while they were feasting, a sealed message was delivered to the prince. He opened it, read it, and then stood up and said to his companions, “I am now the emperor.” He immediately left them, forever turning away from his unworthy past.
When we are called to a duty, we should break with anything in our past that was unworthy. The call to serve God should be a call to live nobly.