I am playing a wizard. I was reading the PHB and saw that you could copy spells into your spellbook for a cost (50 gp + 2 hours of work, per spell level).
My question regards when copying the spell from a scroll. There is a spellcasting ability check required when copying it; the scroll is then destroyed, whether the check is successful or not.
A wizard spell on a spell scroll can be copied just as spells in spellbooks can be copied. When a spell is copied from a spell scroll, the copier must succeed on an Intelligence (Arcana) check with a DC equal to 10 + the spell's level. If the check succeeds, the spell is successfully copied. Whether the check succeeds or fails, the spell scroll is destroyed.
If I fail the check to copy the spell from the scroll, is the 50 gp (per spell level) needed to copy the spell lost?