Sexual abstinence
Abstaining from sex before marriage can be called chastity. In some countries, it is illegal to have sex before marriage. Many religious and ethical systems forbid sexual activities between a person and anyone other than a spouse. These  include most denominational variations of Judaism, Christianity, and Islam. Other legal systems and societal norms  can promote abstinence. People who are abstinent even though they do not want to be are sometimes called incels or TFL (true forced loneliness). One form of sexual abstinence is fapstinence, avoiding masturbation.