"To flavor the soup" means to add something, such as herbs, spices, or other ingredients, to make the soup taste better or more interesting.