Rabbi Weiner explains in the Divine Code, Third Edition, page 103, that righteous Gentiles would be saved.
The weighing of sins and merits is carried out according to the wisdom of the Knowing God. Only He knows how to measure merits against sins.
Chaim has no authority to weigh the sins and merits of Gentile countries.