Just because it sucks at one-shotting programming problems doesn't mean it's not useful for programming.
Using AI tools as co-pilots to augment knowledge and break into areas of discipline that you're unfamiliar with is great.
Is it useful to kean on as if you were a junior developer? No, absolutely not. Is it a useful tool that can augment your knowledge and capabilities as a senior developer? Yes, very much so.