Hurting the enemy is intentional and thus has an implicit "gain" built into it, even if it's just psychological. The physical losses can be deemed acceptable because of it, if the satisfaction derived from hurting the enemy balances them out. The OP is describing stupidity where the result is a true loss or zero gain, because the intent wasn't to hurt in the first place.