It works even if it was not on the battlefield when the land was tapped for mana.

Artwork
Loading artwork…
Desolation
Visions · #58 · EN
Nonfoil—Foil—
Card rules
At the beginning of each end step, each player who tapped a land for mana this turn sacrifices a land of their choice. This enchantment deals 2 damage to each player who sacrificed a Plains this way.
"Kill a creature, destroy the present. Kill the land, destroy the future." —Kaervek
Uncommon · Illustrated by George Pratt
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker 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
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander 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
Each Desolation only causes up to one land per turn to be sacrificed. If you have more than one, each will do this.