This is pretty much spot on, the only thing missing is that it doesn't give enough credit to how badly McCarthy pissed off the Democrats by going on Sunday talk shows the day after Democrats gave him a way out of a government shut down that would hurt millions of Americans for no valid reason, only to blame the Democrats for causing the near government shut down. Had the idiot McCarthy not done that or better yet used the Sunday talk shows to thank the Democrats for giving him a way out of the government shut down that his own party refused to give him. They might have actually helped him to keep his job.
I mean okay maybe Nancy Pelosi did promise to have his back, although we only have his word that she ever said that. Still it's believable that given how big a part the Speakership played in the success of her own career it's not hard to imagine her being willing to prevent a historic ouster just to prevent the way such a thing would tarnish American Democracy. Of course what McCarthy didn't mention when he tried to blame his job loss on Nancy Pelosi was that she wasn't even in DC when it all went down, She was on the other side of the country attending ceremonies for and mourning the loss of her recently departed dear friend Senator Feinstein. Amazing though, McCarthy felt that it was more the responsibility of Democrats and the former speaker to save his job then it was the responsibility of his own party to not cost him his job.