Your thoughts may sound a bit too philosophical for the pragmatics of the world, but you are not off in the slightest. I think of it as cultural change, but we are talking about the same thing.
If we can't edify the right people, the right initiatives, promote the right things, support one another... Is the code really to blame?
I can't be so black&white about it, it does not seem to compute in my head this way.