You are right. ChatGPT is making wrong thing sounds right and reasonable. For beginner they will fall for that trap... It needs to be a good Software Engineer to detect it wrong. Might be, using it will be like how to find correct keyword for