From personal experience, back in the 2010s it was particularly harsh for those with a non-standard background. What few "opportunities" that existed were a handful of unpaid or grossly underpaid internships which were closed off to those who weren't students or recent graduates. Everybody wanted employees who were ready to start pumping out code with little or no training.
That's not to diminish how much more difficult it's become since then but breaking into the industry has never been easy.