You're wrong. There are lots of developers who are self-taught, and just like you they didn't need a course. That's awesome. Similarly though there are lots of other developers who aren't self-taught, and for whom the process of how to think about code didn't "click" with them until they were taught the basics. Those developers needed a course.
People aren't all the same, so what works for one person won't necessarily work for another, and given the number of developers society will need in the future we will have to afford opportunities to every type of learner.
It really is 1999 all over again. :-( :-)
I would be very surprised if you honestly can't conceive of people who would struggle immensely to teach themselves the way you did. Or even if they could succeed in doing so, that it might take too long or be too financially risky.
I personally know plenty of people like that. Some of them are very intelligent as well.
I grew up in a small Greek village at a time when very few people knew what a computer was. My first exposure to programming was finding a CD with all sorts of things in it, including Visual Basic 4. I had no internet, so literally the only thing I had to go on was the VB language reference (the reference, as in, this function does that), and a two-page tutorial on making a temperature converter.
I taught myself programming using just that reference and tutorial, and nothing else. I don't believe courses are necessary if you want to learn programming.