"I have to admit that you like my story, but you hate the ending. If this happen, will you want to change it?"
- Rinne to Rima (Death of Lady Rema Yoshimizu)
The Curse of Yoshimizu was a Touhou Galaxy Project plot logic involve with Yoshimizu family protagonist and main character who died at the start or the end of the story whatever is killed or sacrifice like Rinne, Rio, Aiko, Rima, Kuon and Nana who were all Yoshimizu family have died at the end of story. Most of Yoshimizu family who likely to died were all have tragic memories like Rinne who lost all her family and she also was bullied by ABM online group or Aiko who lost entire family to Invasion of Tomoya by the hand of Star Conflict.
Because of Galaxy of Peace and Chaos never have a good happy ending, it's always to have a beloved character died at the end to serve a better good and to show how these character lost the most important thing and willing to do anything to restore these memories. Many character beside Yoshimizu have high chance of survive despite some of character like Mayu and Tsukara will died some point of the story. Tsukara never chance of surviving because of her counterpart also died as well.
This logic is entirely based on The Dark Knight word "You either die a hero, or you live long enough to see yourself become the villain.".