The purpose of the pistol is to stop a fight that somebody else has started, almost always at very short range.
Never assume that simply having a gun makes you a marksman. You are no more armed because you are wearing a pistol than you are a musician because you own a guitar.