You searched for: “abstinence
abstinence (s) (noun)
1.The action or process of voluntarily refraining from some behavior, or practice; self-control: "While trying to lose weight, Steve's sister practiced abstinence from excessive red meat and junk food; instead, she ate a diet rich in fruits, vegetables, and whole grains all of which made her feel better and even look better."
2. The practice of not doing or having something that is wanted or enjoyable: "Jeremy started to drink again after a long period of total abstinence from alcoholic consumption."

"Abstinence may refer to denial of certain foods and drinks thought to be harmful to a person's health; however, it can also refer to refraining from behavior that is considered immoral."