Is the actual question of choosing value of human life that is unrelated to you over another animal life that's dependent on you?
Your dog/cat/pet depends on you, so you better save them. It's your duty.
If you can save a human life, then yes, you should. But your duties and responsibilities come first, even if they are an animal's life.
reply