Definition
to commit to abstaining from engaging with or using something detrimental, like drugs or alcohol, through a conscious decision.
Susan swore off drinking alcohol to improve her health.
He decided to swear off smoking so he could think more clearly.
She swore off sweets in an effort to lose weight.