Hot take: UX killed UX

I've been reading a lot lately about how bad the market/jobs are and everyone is strugglig. Put that together with the amount of new people graduating from bootcamps, is it possible that the companies/agencies hiring these people who know little of proper UX and thus doing a bad job made said companies cut costs by getting rid of UX designers and just giving the job to some other people like a dev or just dismissing the whole UX as sonething not worth doing? So the bad user experience that these companies get from frauds is kind of killing the industry is what I'm saying.

What are your thoughts?