One of the (many) differences between junior developers and LLM assistance is that humans can learn from their mistakes, whereas with LLMs it's up to you as the prompter to learn from their mistakes.
If an LLM screws something up you can often adjust their prompt to avoid that particular problem in the future.