AI isn't an adequate replacement for experienced software engineers, that is true.
But employers think it is, and are falling for the hype and are affecting engineers left and right regardless.
Whether I'm wrong or they're wrong is immaterial.
They're still replacing SWEs with AI.