The best way to deal with that is to live in a fully conscious, compassionate, loving way. Don't wait until you're on your deathbed to recognize that this is the only way to live.
So many people walk around with a meaningless life. They seem half-asleep, even when they're busy doing things they think are important. This is because they're chasing the wrong things.
After you have wept and grieved for your physical losses, cherish the functions and the life you have left.
It's not too late to develop new friendships or reconnect with people.
What tipped the scales was that psychology involved working with rats.
We have a sense that we should be like the mythical cowboy... able to take on and conquer anything and live in the world without the need for other people.