You are not egoist. I understand you, as my grandfather also have dementia. And it's very hard with people like him. He don't undertand anything. But i thanks to God that he is still walking.
You have to stay with him everytime - to feed him, to walk with him. :(