I think this is unfortunately much less true than expected... Lawyer using chatgpt.. teachers using chatgpt... even professors using chatgpt... as if its a source of truth.
Would it have been more emotionally mature of him to put that aside and listen to your criticisms? Yes, of course. But you probably could have saved some trouble and conflict by sharing in his joy a little before helping him understand the pitfalls and issues.
This usually happens because people don’t read documents to understand why something isn’t working in the first place or the documentation is not clear.
If anything, an LLM makes this sort of stuff more accessible.
Anecdotally, I find using something like ChatGPT to rubber duck engineering problems with various libraries to be much more enjoyable and useful than going to Stack Overflow or mucking through overly verbose (or not verbose enough) docs.