Forever. I mean, life is a natural consequence of the nature and physics of the universe, and human civilization is a natural consequence of life processes. Existence and progression is the meaning.
Scenario 1) The universe will end in heat death, the big rip, or other similar cosmic catastrophe.
Scenario 2) The universe continues on for infinity, giving plenty of time for even the most ridiculously unlikely of events to occur. It is therefore inevitable that humanity or whatever progeny it might have will still ultimately cease to exist.
Scenario 2 isn't actually so clear. Over time, humanity can decrease its suceptability to being wiped out by unlikely events at a faster rate then the events themselves over time.