Enchant creature
When Pious Interdiction enters the battlefield, you gain 2 life.
Enchanted creature can't attack or block.
If the creature this Aura would enchant is an illegal target by the time Pious Interdiction resolves, the entire spell doesn’t resolve. It won’t enter the battlefield, so its ability won’t trigger.