No, indeed. Many horses, and dogs, were used as 'beasts of burden', and often suffered injuries and death.

Dogs in particular had the merit of being able to work without a human handler. Dogs were used to carry rations and ammunition to the front line.
In the first war, dogs were used to run telegraph cables between trenches. The dog wore a harness with a roll of insulated wire that unrolled as the animal ran along. By the second war, radio had largely displaced telegraphs.
Dogs have been used by Ukrainian forces in the present war, to convey rations and messages to forward positions. Cats have fed not only themselves but also the owners by killing rabbits. Cats have allegedly been used to retrieve shot birds, as is more commonly done by dogs.