Actually I agree with you.
Good rule of thumb is "Close with a gun, run from a knife"
A gun is a distance weapon, like any other projectile weapon .
If you get control of the muzzle or hammer it is useless, but knives were invented for that kind of up close encounter.