《新唐书·列传·卷五十》
所以他们入侵，就抵御将他们打退，他们退兵了，也不去追赶。把他们比作禽兽一样地养育他们，既笼络又防范。
故来则拒，去则勿逐，以禽兽畜之，羁縻御之。
Therefore, when they invaded, we defended against them and repelled them. When they withdrew, we don't chase after them. We domesticated them like livestock, to both win them over and guard against them.
<s>[INST] Translate the following Classical Chinese text into English: 故来则拒，去则勿逐，以禽兽畜之，羁縻御之。 [/INST] Therefore, when they invaded, we defended against them and repelled them. When they withdrew, we don't chase after them. We domesticated them like livestock, to both win them over and guard against them.</s>
Translate the following Classical Chinese text into English: 故来则拒，去则勿逐，以禽兽畜之，羁縻御之。
user
Therefore, when they invaded, we defended against them and repelled them. When they withdrew, we don't chase after them. We domesticated them like livestock, to both win them over and guard against them.
assistant