You would find that top developer companies in Cambridge disagree with you. This is from the introduction to a FutureLearn course from 2014. The situation hasn't changed much since then:
"There is a myth that there is a shortage of programmers. However, in my experience when employers advertise for programmers they are often swamped by applications. What there is a shortage of is good programmers.
Over the years I have worked on various Knowledge Transfer Projects and have often had to recruit programmers. On paper there are many qualified applicants whose CVs claim expertise in the required programming language, but when this is put to the test many of the applicants lack the skills they have claimed.
All too often the applicant has written some programs but these are at a basic level, such as a program to convert measurements from metric to Imperial. Usually these applicants haven’t written anything substantial on their own and are unable to spot mistakes in someone else’s code.
Why is there a shortage of good programmers?
Because learning to program is challenging, and becoming a good programmer takes a lot of time and practice. Some people think that they are going to be proficient after a few hours of study, not realising that becoming a programmer is a long process. Then there are students who study strategically, learning only the bare minimum needed to pass a course, without worrying that this does not mean they are good programmers.
What needs to be understood is that learning to program is like learning a foreign language – we can all pick up a few key words but it takes years to become fluent in reading and writing. There are subtleties of syntax and semantics that need to be understood.
Learning one foreign language will almost certainly help in learning others, but while some natural languages share common roots and have many similarities, there are others that are very distinct in character. The same is true with programming languages; while many modern programming languages share common roots, there are different families."
about.futurelearn.com/blog/shortage-of-programmers/
Until recently, almost nothing was taught about programming in schools.