Yeah exactly, so practicing sword fighting doesn't prepare you for real sword fighting as good as boxing prepares you for a real-life fist fight.
Because you can practice boxing at full force, and you can find out if you're able to knock someone down. Of course noone goes 100% on every sparing, but once in a while, or in competitions - entirely possible.
Every practice is an approximation, sure, but some approximations are (inevitably) orders of magnitude more crude than others.
Same thing with medieval fencing: injury is a big part of sword fighting, but you don't want to do that in real life, so you use blunt swords and lots of protection, so you have no idea whether your strike to the wrist would have been ineffective or would have chopped off the hand. And because protection is never perfect, you also train not to hit too hard, which is the exact opposite of what you'd want to do in reality.