That assumes infinite time; if there is any possibility of a thing being wiped out then it will be at some point in an infinite time period.
If time is not infinite, however, then it is completely possible for humanity - or anything else - to survive indefinitely. However unlikely.