to befriend distant states while attacking nearby ones
To befriend distant states while attacking neighboring ones; originally a strategy used by the state of Qin during the Warring States period, it is now used generally to describe any similar tactic in diplomacy or social relations.