反其道而行之

  1. to do the very opposite
  2. to act in a diametrically opposite way

“do exactly the opposite; act in a diametrically opposite way”

其:他的;道:方法,办法。采取同对方相反的办法行事。