There were three components of the vow: 1) They were not to drink wine or other alcoholic drinks, or consume grape in any form. 2) They were not to cut their hair. 3) They were not to come into contact with a dead body for any reason.
This is the type of vow that Samson had made and is likely also referenced in Acts 18 regarding the apostle Paul.
So how might this apply to us today?
The point of application for us today is the value of making a conscious choice to set aside a time of particular and devoted focus on the Lord. It is so easy to be caught up in the busy-ness of life and even when we are following the Lord closely, we can benefit from a period of eliminating outside distractions and focusing on our relationship with God.
For some this may take the form of a fast, either from food in general, a particular type of food, or from some other thing that steals your attention from God. It might be your device, social media, or television, or it might even be time to take time away from work to devote your full attention to the Lord. What most often distracts you from spending time reading the Bible and praying?