Teaching can’t compete.

When the economy improves and job prospects multiply, college students turn their attention elsewhere, to professions that promise more money, more independence, more respect.

That was one takeaway from a widely discussed story in The Times on Sunday by Motoko Rich, who charted teacher shortages so severe in certain areas of the country that teachers are being rushed into classrooms with dubious qualifications and before they’ve earned their teaching credentials.

It’s a sad, alarming state of affairs, and it proves that for all our lip service about improving the education of America’s children, we’ve failed to make teaching the draw that it should be, the honor that it must be. Nationally, enrollment in teacher preparation programs dropped by 30 percent between 2010 and 2014, as Rich reported.

To make matters worse, more than 40 percent of the people who do go into teaching exit the profession within five years.