That's why adding a pet to your family can be so selfless. You take them in, knowing almost for certain, that you will outlive them. The fact that you are so upset over losing your dog tells me you loved him a lot and gave him a happy life. I hope that gives you some peace.