North Africa I can talk about, by the time of Kasserine Pass it was just a question of time for the Axis forces.
Allied Air Power, plus the ongoing Naval campaign meant there would never be enough supplies, they should have quit before then.
The one thing sort of relevant particularly to this discussion is how Generals who failed were relieved, now that was not necessarily a career death sentence, perhaps not just a good fit, certainly was for Fredendall.
Back then they needed competency, now not so much.