This is match my experiences.
Saddly, bad middle manager wants to hire a yesman (or women). Not an experienced engineer that will challenge them by highlighting to upper management the project technical debt, the lack of tests or the broken CD pipeline.