Wiktionary
vb. (context idiomatic English) To quit or cease completely, or to promise to quit, as of a bad habit.
WordNet
v. promise to abstain from; "I have sworn off cigarettes altogether"
Usage examples of "swear off".
THE NEXT MORNING, she had the kind of headache that made strong men swear off drink.
She has a very sensitive nose, and tobacco smell just doesn't agree with her, so I kind of step out when I'm smoking and-- Well, she'd like to have me swear off.
Now, one sip of that stuff there and you'll swear off those lethal Kentucky brews forever.
That poor bitch is enough to make any man swear off sex for the rest of his days.
He was a little past twenty, wearing patched Levi's and a T-shirt, and a look in his eyes that still smoldered from some psychedelic scorcher that had made him swear off forever.
I may swear off carbohydrates and grease and seek transcendental peace through fasting and intense meditation.