The statue had (intended) political connotations for the city state that had recently cast of the ruling of the Medici family. Note how David's character traits, are considered more important than his victory over Goliath, which is why Michelangelo depicted him before the battle, strong-willed and ready to fight.