Judgement on the nations and purification of the remnant