If I were looking for a writing job today--which I did a lot of over the past 10 years--I wouldn't be looking to the New York Times or certainly a small city paper, I'd find an opportunity with a company that would doubtless have some guardrails but would also have other opportunities.
I suspect a lot of people here have had more linear and well-defined paths as the industry has matured.
I don't consider any of it a waste and I've enjoyed a lot of it. I've had conversations with people I've known for decades about it and they're kind of meh. You've done fine whether or not your formal training was necessarily on target for what you ultimately did.
I'll also add that working on newspapers has been probably been more useful than a lot of the technical stuff I've done.