Sobriety refers to two main ideas:
Cambridge Dictionary defines "sobriety" as "the state of being sober" and also as "seriousness."
The term applies both to physical abstinence from alcohol or other substances and to a serious or thoughtful state of mind.
Author’s summary: The word sobriety means abstaining from alcohol or drugs and can also describe a serious, calm attitude or demeanor.