If the target artifact becomes illegal before resolution, you do not gain any life.

Artwork
Loading artwork…
Divine Offering
Mirrodin Besieged · #5 · EN
Nonfoil—Foil—
Card rules
Destroy target artifact. You gain life equal to its mana value.
"The Phyrexians *are* vulnerable. Do not despair. We will prevail!" —Juryan, rebel leader
Common · Illustrated by Terese Nielsen
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
PreDH Legal
Premodern Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Penny Not Legal
Pioneer 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
If Divine Offering resolves, but the artifact regenerates or has indestructible, you'll still gain the life.