dogs and cats were domesticated by humans long before we developed writing.
You are correct in the most strict sense, but dogs and cats were changed to serve our needs a very long time ago.
Hamsters I do not know about. I assume that they members of the rodent family.
“Hamsters I do not know about.”
Hamsters are Syrian Refugees. And we know what that means. https://en.wikipedia.org/wiki/Golden_hamster