兩害相權取其輕

两害相权取其轻
liǎnghàixiāngquánqīng

to choose the lesser of two evils

Wiktionary

Entry Composition