Wearing white clothes and anointing one's head with oil were both signs of gladness and celebration.
"anoint your head with oil"