the stats on your heroes depends on the amount of soldiers in their armies, and when you die or take damage, an amount of soldiers dies which means your hero gets weaker. so if your hero has low stats, just recruit new soldiers (took me some time to figure it out myself)