the action of restraining oneself from partaking or engaging in something, especially some indulgence or something enjoyable, i.e. the action of abstaining from something;
e.g. She has been practicing abstinence from smoking for two years.
(noun)
the practice of habitually avoiding (or abstaining from) alcoholic beverages;
e.g. He is celebrating five years of abstinence from alcohol.
(noun)
the practice of not engaging in (or abstaining from) sexual intercourse;
e.g. They have been practicing abstinence due to their religious beliefs.