Penance performed out of foolishness, with self-torture or to destroy or injure others, is said to be in the mode of ignorance.
foolish
with endeavor
of one's own self
which
by torture
is performed
penance
to others
for the sake of causing annihilation
or
that
in the mode of darkness
is said to be.