Still, why do so many seekers-of-wisdom do that? Is it fear of the documentation, which can be pretty intimidating for a novice? Are they truly, seriously lazy gold brickers? Are they just thick? If it is the first, what they need is reassurance and a very simple, unintimidating example.
I wonder if there is a market for teaching chatbots? They'd have a hard time being worse than the endless "tutorials" on the web.
In a lot of cases, as I note elsethread, I think it's often that they've been locked into tunnel vision over the "solution" they're currently attempting - they have a serious case of XY problem but their self-made blinkers prevent them seeing that.
A much shorter version of this drama gets played out on technical channels when one of us goes "hmm, why isn't this working?", somebody else goes "wtf are you doing that for?" and the first one goes ".... oh, FFS, because I'm an idiot". But it takes practice to be that in tune with your inner idiot.
However, your point that the example sucks is good; I've fleshed it out somewhat (and still consider it representative of what I'm attempting to describe)