There are the very real morale benefits. You walk in the front door and the dog is beside herself with joy. Dogs are always glad to see you. Always there with a gentle touch and sympathy. You can tell a dog anything and it won't run away or gossip about it. A dog will knock itself out getting you up in the morning and do it without complaint or resentment.
In the field a good dog will stay alert enough, even when asleep, to keep a camp site secure.