Yes, but when you're a caveman or peasant, there's not much you can do about physical trauma to your internal organs. External pain is useful because you can usually take action to stop it.
(Obviously with the advent of modern medicine, internal pain is useful.)
Tangent: why have humans (animals in general I guess) evolved pain receptors inside their bodies?