befriend the distant and attack the near