It's not your fault. It's okay for you to feel this way, and it's perfectly natural. Your friend was hurt, and there was nothing you could do about it. But it isn't your fault, and you shouldn't blame yourself. James is going to get better. The best thing you can do is just be there for him as he recovers.