swear off

Upper Intermediate (B2) informal

To promise yourself you will never do something again.

"After getting terrible food poisoning, she swore off sushi for the rest of her life."