Our descendants might have terrible lives for a thousand generations and it would be worth it if it means humanity can get to better times on the other side.
Would it be worth it? There is likely no net loss for the universe if we or even the entire Earth disappeared overnight and that might be better than thousands of generations suffering painfully over thousands of years.