I saw a post years ago positing that to dogs humans are like elves, immortal and unchanging. It reckoned that greatest honor a dog could achieve was to be there to ease a human’s passing, not just because it was an event so rare that generations of dogs lived and died never even seeing them age, but in recognition of the many ancestors that the human had cared for during their long life.