Destroy target enchantment. You gain 2 life.
If the enchantment is an illegal target when Cursebreak tries to resolve, it’ll be countered and none of its effects will happen. You won’t gain 2 life.