The underdog ability present on some high tier infantry that's supposed to buff them +3 melee def/atk and +10 morale when fighting 2 or more units does buff the intended unit (your unit), but it also buffs the enemy units too. Sometimes just one, sometimes more.