It is not obvious why selection should favor menopause or the continued survival of individuals that can no longer reproduce. The famous Grandmother Hypothesis had been used to explain the evolutionary significance of menopause. A new study conducted on the Ngogo chimpanzees community of wild chimpanzees in Uganda challenges this hypothesis. Science 27 Oct 2023 Vol 382, Issue 6669 DOI: 10.1126/science.add547
Some whales have menopause too I think.
And elephants.