A lot of sci-fi stories end with humanity surviving, winning the war, escaping extinction, or at least finding a way forward.
But I'm curious about the opposite.
What's a sci-fi book where, if you look at the situation objectively, humanity basically lost... yet the ending didn't feel completely bleak?
Maybe Earth was abandoned. Maybe humans became something else entirely. Maybe another species inherited the future. Maybe civilization collapsed and never recovered. The important part is that the outcome wasn't really a "victory" in the traditional sense.
I'm not necessarily looking for happy endings. More the kind of ending where you close the book and think, "Well, that didn't go well for us... but maybe that's okay."
The best examples for me are the ones where the loss forces a change in perspective rather than just serving as a tragedy.
Any recommendations? Obviously spoilers are unavoidable, but please hide details when possible.