Even though she ended up dying, she still had someone there in her final moments. Sometimes that's what dying people need, company. You may have provided some comfort for her in those final moments and even though she ultimately still ended up dying that doesn't mean you weren't a help to her.