悖入悖出

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

Idiom

 * 1) ill-gotten; ill-spent