to add on to the others:
- writing the code can surface problems, hurdles, and/or challenge assumptions that may impact whatever acceptance criteria we were aiming for
- assuming we're still talking about writing code for humans to read/maintain - if the code you would've written is literally the same code the machine would've generated, I'd say there's room for improvement
- paraphrasing, but "just lie down and accept it" is not in my spirit