Youre right but I think the point still stands. Many times it really is easier to verify than produce. Compilable code being a good example.
If we're talking about generating and integrating sample code, it's great at that
Anything more advanced and it's a footgun
It's so good that I often do this preemptively to avoid a compile/deploy/test cycle.