You can blame the tool for poorly fulfilling its purpose, though.
Is it not autocompleting code?
Autocompleting code and programming with others in mind are completely different (though related) tasks. It’s a copilot and it’s your responsibility to make sure it’s on the right track.