If the target creature or enchantment is an illegal target as Withering Torment tries to resolve, it won't resolve and none of its effects will happen. You won't lose life.

Artwork
Loading artwork…
Withering Torment
Foundations Commander · #134 · EN
Nonfoil—Foil—
Card rules
Destroy target creature or enchantment. You lose 2 life.
Each spindrell is the lingering consciousness of a survivor consumed by cellarspawn—a ragged, drifting remnant pulsing with constant psychic agony.
Uncommon · Illustrated by Inkognit
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions