By that logic, all classes should have magic. The battlefield of the D&D world is full of caster artillery, magic weapons, units of zombies animated by necromancers, stinking clouds, alchemical catapult payloads - so of course the fighter has magic. The underworld is rife with magical traps, alarm spells, illusions, black market spell components, and hot magic items that may be cursed, so, of course, the rogue has magic.
The 3.5 'Scout' was prettymuch a non-magical Ranger.
In D&D, an adventurer is either a walking and not necessarily talking killer machine or a user of magic.
The 4e ranger didn't need magic because he could sneak up on and twin-strike any level appropriate nonsolo to death.
And same with the earlier edition rangers except their monster got tougher and more wily. And fast for the 3e ranger.