Well we're all related to each other as 16th cousins.
Not really ~ many families kept it, so to speak, in the family. The French royals, for example, adhered to a standard where no one "bred" within 4 degrees of consaqnguinity, but they didn't "breed" beyond that either. This kept the royal family at 500 or so members for about 500 years.