飢えたる犬は棒を恐れず(うえたるいぬはぼうをおそれず)

Japanese vocabulary

Meaning: a starved dog does not fear the rod

See it used in real works