Writing code is easy. Ridiculously easy.
Um, right. It's so ridiculously easy that after decades of it, doing it even reasonably well is still a sought after and well-compensated skill.
It's so ridiculously easy that people keep proposing these "teach everybody to code" things, and they don't work.
It must be the Illuminati who keep it from working. Or those wascally wepubwicans.
Riding a bike is ridiculously easy, and most ten year olds can do it; but if you do it well enough to win the Tour de France you make a lot of money.
People who dedicate themselves by long practice and careful study to any skill - even a 'ridiculously easy' one - become good at it, and if it's a valued skill, the good people are more valued. It remains a fact that the average ten year old can easily write programs which will give them enough positive feedback and sense of mastery that, with encouragement, they may put in the practice and study which will one day make them well compensated.
And let's face it, a lot more people make a lot of money from writing code than from riding bicycles.