Anyone with training in both will tell you that the only reason to have a pistol in a firefight is to fight your way back to the rifle you should have never let yourself get away from.
Given the choice of one verses the other, rifle always wins. Vests can stop many pistol rounds, not many rifle rounds. A rifle, handled properly, can clear small spaces and shoot at ranges beyond pistol accuracy.
Nothing against pistols. I use them to. But no contest between the two, given proper training.
The only downside to a rifle I can see is use in urban environment where you have to worry about where the round goes after it has blown open the perp in your house. The bullet will be going through several walls before coming to rest. Not necessarily good for your neighbors. In those cases a shotgun or pistol is probably better suited.
I agree with what you’ve said about rifle vs. pistol - in a direct confrontation, the rifle always wins (well, maybe a .22LR vs. a .500 S&W Magnum would turn out differently).
I was just addressing the 100% definiteness of your statement that:
“When a man with a .45 meets a man with a rifle, the man with a pistol will be a dead man.”
No, not always. Mostly, yes, but not always. I have both, and I’d always prefer to have a rifle than a pistol...but I know that the rifle isn’t a magic wand, either, that some miscreant with a pistol can still put a slug in me.