Researchers asked pet parents to rate themselves on five major personality dimensions. Pet parents overwhelmingly responded that they share all five personality dimensions with their dogs. A calm human will often choose a calm dog, or an anxious person will adopt a frightened dog.
Auto89
https://www.petmd.com/dog/pet-lover/how-much-dogs-personality-comes-their-owner