Gravebreaker Lamia’s last ability doesn’t give you permission to cast cards from your graveyard. You need something else allowing you to do so, such as the escape keyword ability.

Artwork
Loading artwork…
Gravebreaker Lamia
Theros Beyond Death · #98 · EN
Nonfoil—Foil—
Card rules
Lifelink
When this creature enters, search your library for a card, put it into your graveyard, then shuffle.
Spells you cast from your graveyard cost 1 less to cast.
4/4
Rare · Illustrated by Lius Lasahido
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions