Might be some dunnig kruger curve there. Not tooting my horn but I know my ways around and I only use ai for programming when I more or less know how it works already. Which means I verify and fix any eventual problems before committing any code. It does speed up the process, it's a tiny bit simpler than checking stuff out on stack overflow IMO.
Now, if you don't know your ways around, and "trusts" the outcome on an LLM, boy are you in trouble 😵💫.