Keeping animals as pets probably goes back to the earliest humans. We will probably never really know much about it other than information we get from cave drawings and animal bones buried with humans. These early people probably brought wolves and cats into their living space which led to domestication. The question is, would humans have evolved as they did, without them. Some think not, because they don’t find evidence of Neanderthal having dogs or cats, and they became extinct.