Mostly myth. The first million years nobody cared. Inbreeding over time is a bad idea, if the gene pool is too small. But line breeding(?) like done with dogs (and cattle and pigs and ...) is not a death sentence, nor even a very bad idea unless taken to extremes.