This is the problem I'm seeing. The industry feels like a diode.
The 'tech' bandwagon is running at full speed and everyone wants to jump on. You see jewellery restorers and nurses "learning to code" or taking the CAPSLOCK course, you also see people fresh out of OxDurBridge with their degrees in Mesopotamian Basket Weaving & Cantonese Linguistics, who take a bootcamp and land themselves in a Backend Engineer position in the City or "Senior Partner Cloud Architecture Practice" with no hands-on experience whatsoever at a Big4. All by age 25.
But people who were already in the tech industry can't seem to get out. If you spent ten years writing Python or fiddling with Kubernetes, you can't have that Digital Marketing, HR, policing, or heating engineer role even if you genuinely do want to.
Got a friend in this exact position right now and he basically says don't study tech courses at degree level, kids. You can all too easily up in a pigeonhole and find everyone on the outside can have your job with generic qualifications, but you can't have their old jobs with your CS qualifications.