反其道而行之

Idiom

 * 1) to do just the opposite; to act in a diametrically opposite way