An LLM is also a code generator. There is a scale of changes where using one is just not worthwhile (quite possibly around the 10 lines mark, as you said) but other than that, why would you want to write code yourself line-by-line that you could just generate?
Who even write their code line by line?
Snippets and other code generation tool has been here for decades. If you’re writing Java in IDEA, it’s basically a tab-fest with completion. And if you’re fluent in your editor, you do much more complex than editing lines.