abstinence

(noun) abstention

self-discipline (generic term)
self-denial (generic term)