When the universe begins to collapse in on itself again, a lone human will stand on the bridge of one of our great starships. As she watches the cosmos collapse in on themselves, she will turn to see the great arcs that humanity has built, vessels designed to carry humanity forward. As our Earth is once again returns unto dust and joins in the great cataclysm, she will say, in a clear voice that rings out the trillions of assembled humans, "The age of humanity is over. With this, a new age dawns. To the infant cosmos about to be born, we shall grant life. We shall stand and watch over the new stars, the new planets and the new consiounesses. And when that is done, humanity will dissolve into wispers upon the waves of light and thought, we shall evolve. Most importantly of all, we will be victorious over ourselves and over this, the greatest stage in the development of the universe." And she will turn back to the sight of the universe collapsing and she will say, "Humanity victorious."
I have enough faith in humaity that we won't end, we'll evolve.