This is amongst the boons for which Bagalamukhi's devotees worship her. Other Mahavidya goddesses may also be stated to depict related powers beneficial for defeating enemies, to become invoked by their worshippers by a variety of rituals. Goddess Bagalamukhi is an ideal example of duality – the ying and yang. https://www.youtube.com/@Mahavidyabaglamukhi