Yeah, anecdotes are good for making observations to base a hypothesis off of, but that's it. You can't really draw conclusions from them as if they're data. Walking on the ground is based on a repeatable experience and is based on physics. We can't say if the conclusion you're drawing is most people have two eyes, or that most people are white. Claiming smarter people are more likely to write sloppy code based on anecdotes overlooks how diverse the field of programming is, and how complex programming is, and how different people are. It's a mix of education, experience, culture, and individual habits. Using anecdotal evidence for such claims is going to overlook counterexamples and is basically gonna be confirmation bias.
Your meta-claim lacks rigor. Again, the plural of anecdote is not data. The truth of a claim in the realm of human behavior and skills requires empirical evidence, which involves a stupid amount of work to make systematic observations to get shittons of data to override sampling bias, far beyond what any one human could experience. Without data, we've got speculation, not reliable conclusions.
Everyone's entitled to their own opinion. You're entitled to believe "smarter people are more likely to write sloppy code." Just like I'm entitled to my opinion that that's based on evidence subject to confirmation and sampling bias rather than any grounding in fact. :) We're going around in circles at this point, so I'll stop, but it's been fun.