Where the Red Fern Grows

One night Old Dan and Little Ann tree a mountain lion, and it attacks. Billy enters the fight with his axe, hoping to save his dogs, but they end up having to save him. Eventually, they kill the mountain lion, but Old Dan is badly wounded, and he dies late that night. Billy is heartbroken, and Little Ann loses the will to live, stops eating, and dies of grief a few days later on Old Dan's grave. Billy's father tries to tell him that it is all for the best, because with the money they received from winning the championship hunt, they can move to town. He goes to visit Old Dan and Little Ann's graves and finds a giant red fern between them. According to Native American legend, only an angel can plant one. He feels ready to move on.

Question: does the dog die in where the red fern grows
Answer: yes