The last ability of Altar of the Pantheon is a mana ability. It doesn't use the stack and can't be responded to. You'll immediately add mana and gain 1 life, if applicable.

Artwork
Loading artwork…
Altar of the Pantheon
The List · #THB-231 · EN
Nonfoil—Foil—
Card rules
Your devotion to each color and each combination of colors is increased by one.
: Add one mana of any color. If you control a God, a Demigod, or a legendary enchantment, you gain 1 life.
Common · Illustrated by Jonas De Ro
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Your devotion to two colors (for example, your devotion to red and green) is increased by one, not by two or three.
If Altar of the Pantheon loses its abilities, you'll still get a bonus to your devotion. This is because its effect is applied before any effect that would make it lose its abilities.
You gain just 1 life, no matter how many Gods, Demigods, and/or legendary enchantments you control beyond the first.