It's about writing good, easy to read and maintanable code, not "yet another piece of garbage that almost works... for me..."
10k lines that nobody including you understands? That's a liability if anywhere else than your home project that only you use
Use AI as a hyper-documentation system and "show me how to" guide but not to spew code that neither it or you understand