In traditional Chinese culture, firecrackers were originally used to scare away evil spirits. So, yeah.
It still works.
Imagine that.....