~~~
I was just thinking about what it would take to see Pep Guardiola getting fired!

I have always thought that it is impossible for him to ever lose his job and I still think it is, but from a hypothetical point of view, I wonder when a club's management would decide to sack him?

Four losses is of course not enough. He could probably lose 8 consecutive games and still wouldn't get fired. Probably 12... But it is a new situation that Pep Guardiola hasn't been in yet. This could either snowball and Manchester City is far more nervous than usually or they will soon answer with an impressive winning streak.
Previously Guardiola had never lost four consecutive games in all competitions in his career as a coach, although no one wants such a bad record, but it will always be the first time that it happens. Manchester City's poor record since being handled by Guardiola has not made the management worried, they will continue to trust Pep as the coach based on what he has given to the club so far. A decline in performance can happen to any club, maybe now it's Manchester City's turn to enter a bad period in recent years.
The injuries suffered by several players have changed their game plan and direction, everyone is very aware of that because Pedri and KDB play a very big role in the midfield. Guardiola still has the ability to change everything, I'm sure, he won't let the snowball get bigger.