Maybe their spirit is an extension of our soul.
They connect, certainly.
But the soul of a human is something quite different from an animal spirit.
God created us in his image. We are his children. All creation is from God. Not the same level.
That being said there are plenty of dogs I have known worth far more than many people I have met.
But this is theology we are talking about.