It's exhausting to keep having this same conversation over and over, but I suppose that's the purpose of comments like yours.
Look at the graduation rates for women and minorities from CS programs; then look at the industry participation rates, particularly over time and particularly with reference to seniority. They're not turning their back on tech, they're being driven out.