What analogy? I didn't draw any direct comparison, I think. Was there one?
Arms are given to Ukraine with every state dictating how they should not be used, with Ukraine being autonomous in their decision-making – as it sounds, they consult other countries, but decide things themselves. To my brief knowledge of past wars it was usually a 'use how you want' deal or a direct involvement and control from other party with boots on the ground, both don't fit this exact situation. And it becomes even more unique since there are not one party, but a lot of them, all citing their own conditions on exact shipments, adding even more confusion to the situation.
I want to highlight the fact it's one of the first very public case of countries donating weapons with such policies limiting their usage against enemy troops.
Technically, yes, the offensive does consume like 3x of what is needed for defense the same position, but it works right only if that's a war of equals. Ukraine was and is underpowered on it's own, and even with the stuff other countries donated. Them gaining an edge in the warzone in the last years often involved either technological trickery or great insights and tactics using their limited resources.
One other thing that breaks that rule and makes this change in the narrative significant - is that russians could deploy their bombers, fuel, supply centers near the border, thinking they can't get effecrively hit, that giving them a big boost whatever they do, and if this handicap gets denied, they'd have a harder time supplying another operation from further away.