How did the San Ti evolve in so much destruction?

I only saw the show and I look forward to reading the books. I was wondering how the San Ti evolved to such a developed species while they live in an environment that sees destruction on a regular basis. It seems like earth needed millions and millions of years to create life without being wiped out by a three sun system all the time.