I manage to create a balanced hero for the Knight, Necromancer, and Elf factions.
I believe that mages are stronger because they have spells like "Portal City" or "Spatial Gate," which almost guarantees victory.
And in general, it seems to me that the troops in magical castles are stronger.