"that shall be to you": to exclude the one who sells his beast to a gentile. This would exclude the foregoing, but it would include one who buys his beast from a gentile. It is, therefore, written (Devarim 15:19) ("which is born) in your herd and in your flock" — to exclude one who buys his beast from a gentile.