Young, developing minds have difficulty separating reality from fantasy. In many ways society encourages this, whether with Santa Claus or "happily ever after". This disconnect is used to comfort and motivate the developing child. The cost comes later in life, when many still have trouble discerning between attractive falsehoods, ("global warming has no anthropogenic causes"), and hard, cold fact.
Many here have proposed teaching logic before coding, and that is reasonable, but as a first step, perception must be groomed to discern between that which we want to believe and that which actually is. Without that, logic has no basis in fact and is as useless as a no-op code.
In the '70s Boeing shut down the SST project. Seattle reeled in the aftermath, prompting the billboard, "Will the last person to leave Seattle, please, turn off the lights."
Of course, politicians love to make hay by decrying the loss of jobs. Social progress and clear thinking are sidelined by such facile, emotional arguments. Had today's political climate existed 100 years ago, we would still be paying for whale oil price supports.
Truth has always been found to promote the best interests of mankind... - Percy Bysshe Shelley