So go to a school with girls basketball. The world doesn’t revolve around you.
True enough for girls and their parents who are entering the school.
This story, however, involves an older girl in middle school. Let's say she's an 8th grader. She may have been in this school since pre-K. (My older daughter was a "lifer" at our local parochial school, pre-K through 8th grade.) She's probably been playing basketball since the school fielded its first CYO team in the early grades. Suddenly the school cancels the girls' team (probably for lack of players). What is she supposed to do? Transfer to another school, leaving her friends behind in her final year? Or give up basketball, which she may hope to play in high school?
No, the world doesn't revolve around this particular girl, but if I were involved in this situation, I believe I'd try to find an accommodation to allow a stranded player to stay in the sport for her final year.