無所不用其極

Etymology
From the Great Learning (《大學》) in the :



It has later become a derogatory term.

Idiom

 * 1)  to resort to every conceivable means; to stop at nothing; to go to any length