We are not always meant to be at our loved one’s beside when they die, no matter how much we wanted to be there. This is because there is a specific life lesson for the person who was not present to learn. Possibly, a lesson about coping with loss, experiencing helplessness, vulnerability, appreciation, or finding happiness by themselves.
If you were truly meant to be there when the person died, you would HAVE been there no matter what.