Paul Farquhar
Legend
A barbarian with 14 Dexterity (as suggested by their armor proficiencies), who picks up a longbow, is not an effective ranged attacker. Two attacks, at +6 to hit for ~7 damage, is not a meaningful ranged contribution for a level 10 character.
That's absolutely false. They are not as effective as they are in melee, but they are still able to make a contribution. It's considerably better than a baseline character with no relevant class abilities, which would be one attack per round with a light crossbow for 1d8, and infinitely better than the barbarian who was too dumb to bring a longbow in the first place.
A good DM will set up a wide variety of tactical situations over the course of an adventure that should give a wide variety of builds and character types a chance to shine. And a competent party will make sure that even if the situation doesn't give their character it's moment in the Sun, there is still something they can be doing. The archer brings a rapier, the wizard learns shocking grasp, the skill-monkey has a dagger and the barbarian brings a longbow.