This is a pretty distant perspective. It's like saying 'you can become a millionaire startup founder if you are intelligent. Go to MIT, Get a job at a young tech company. Get Funded by YC. Sell the company to your former employer.'
Obviously, it's not impossible to become a millionaire CEO. People do it. There The requisite work, skill, risk, talent and luck just isn't comparable to 'become a programmer.'
Becoming a programmer requires one to learn to program, at university or some other way and get a job programming which isn't to hard if you can program. At neither step are you competing to get through gatekeepers and bottlenecks in a most-will-fail situation.
You easy steps to becoming a CEO require you to go through several of these competitive bottlenecks. In any case my point was just to point out how silly it is to say 'most programmers don't become millionaire CEOs, it's a dead end job.'