No, the underlying format of "$LABOR_ISSUE can be solved by $CHANGE_JOB" comes from a place of politics, where a politician is trying to suggest they have a plan to somehow tackle a painful problem among their constituents, and that therefore they should be (re-)elected.
Then the politicians piled onto "coal-miners can learn to code" etc. because it was uniquely attractive, since:
1. No big capital expenditures, so they don't need to promise/explain how a new factory will get built.
2. The potential for remote work means constituents wouldn't need to sell their homes or move.
3. Participants wouldn't require multiple years of expensive formal schooling.
4. It had some "more money than you make now" appeal.
https://en.wikipedia.org/wiki/Learn_to_Code#Codecademy_and_C...
24 The disciple is not above his master, nor the servant above his lord.
25 It is enough for the disciple that he be as his master, and the servant as his lord. If they have called the master of the house Beelzebub, how much more shall they call them of his household?Forget these new taxes on Americans who buy Canadian hardwood, we can just supply logs from your eyes.
how much more shall they call them of his household?