Kōbō-Daishi(弘法大師) says. When a heart is seized with worldly desires such as the darkness, all the things to come across become the evil. However, if open eyes of the enlightenment, all the things to come across are precious.
This statue is called "Jikokuten(持国天)". It is one of the guardian deity protecting the east of the Four Heavenly Kings.