My dog is going to die soon

I live in different city . I don't want to visit home because I don't want to see him suffering in pain.I am feeling really really bad . I think I'm a bad owner for not being there for him at this time. I cannot see him like this😭😢.i feel terrible.my parents are with him.