Why do you assume the code will be bad in the first place?
Coding as someone without experience in coding? Most probably yes, but from someone with some kind of expertise who can act as a guardrail for bad code piling up? Probably not.
I don't assume the code will be bad, I directly observe on a daily basis that it's bad. Since the widespread adoption of AI, all but the best developers I work with have been writing worse code with a higher number of more severe bugs.
The AI spits out _some_ code => the developer needs to review & cleanup the mess, or accept that it worsen the system for the sake of delivering more rapidly.
That's the dynamic with AI and a lot of developers hate working like that, yet there is pressure to work this way.