If this was for real, it would only be a relatively short-term pain. They might lose trillions, but if you’re at war, that’s a small price to pay to destroy your enemy.
They believe that if they lose 99% of their people and win, it was well worth it. They do not value human life, only victory.