The loss of life can't be prevented by any means. It is not damage.

Artwork
Loading artwork…
Psychic Purge
Legends · #68 · EN
Nonfoil—Foil—
Card rules
Psychic Purge deals 1 damage to any target.
When a spell or ability an opponent controls causes you to discard this card, that player loses 5 life.
Common · Illustrated by Susan Van Camp
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Old School Legal
Pauper Legal
Pauper Commander Legal
PreDH Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Penny Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Discarding as a cost to cast a spell will not trigger the ability. Only discarding as an effect will trigger the ability.