两害相权取其轻

兩害相權取其輕
liǎnghàixiāngquánqīng

to choose the lesser of two evils

Wiktionary

Entry Composition