窮鼠猫を噛む

Etymology
, from the . Note that the character is replaced by  in Japanese.

Proverb

 * 1) a cornered rat will bite a cat, weak people will attack when cornered