abstinence
ab·sti·nence
/ˈæbstənəns/ noun [ noncount ]
: the practice of not doing or having something that is wanted or enjoyable : the practice of abstaining from something
The program promoted sexual abstinence for young people.
— often + from
abstinence from sex
He started drinking again after a long period of total/complete abstinence from alcohol.
ab·sti·nent /ˈæbstənənt/ adj
He stopped drinking and has remained totally abstinent.