I mean, you use your hand(s) to wield a weapon. It defies logic that a dude or dudette who can barely lift a sword would somehow be able to deal just as much damage with it as someone with Herculean strength just because they're very intelligent. Dexterity I can understand, somewhat. Though, even then it takes very specific type of weapons to make sense.
Hexblades are able to do the same with Charisma, but their choice of weapons is very limited.
Likewise, Shillelagh lets a druid (or someone with the cantrip) use Wisdom instead of strength when attacking with a club or quarterstaff. But that works only for 1 minute at a time.
Also, while Monks have more variety in weapons they can use with Dexterity, all of them make sense. And with Kensei, they have to choose individual weapons for that.
But Battle Smith? Oh, they can use Intelligence with ANY magic weapon they use. It doesn't matter if the weapon is normally mundane, because they could use an infusion to make that weapon magical for days at a time, and here we go again.