"Vaal is Vaal. He is – everything."
Vaal was ultimately destroyed by Kirk and the crew of the Enterprise when it killed several crew members and was deemed an unacceptable threat. This action by Kirk may have been in direct violation of the Prime Directive, but Kirk felt justified that the humanoids on the planet needed to be freed from their false god in order to achieve their full potential. (TOS: "The Apple")