It’s more complex than that. Chronologically it’s true that he died after having already military lost most of Africa and Italy itself, but the part of the military had already rebelled in 1943 and Italians faithful to the king started organizing. The fact that he had lost part of the military could have surely influenced the subsequent losses. Anyway the citizens started working to undermine his power and position since early 1943.
TBF, the Italians only killed Mussolini after his regime had been militarily defeated. Twice.
It’s more complex than that. Chronologically it’s true that he died after having already military lost most of Africa and Italy itself, but the part of the military had already rebelled in 1943 and Italians faithful to the king started organizing. The fact that he had lost part of the military could have surely influenced the subsequent losses. Anyway the citizens started working to undermine his power and position since early 1943.