How could I help my grandmother dying in pain? The best comfort was the rosary

How could I help my grandmother dying in pain? The best comfort was the rosary