The following supports much of what's already been said with regards to the judgment of the Tribulation Gentiles:
From Footsteps of the Messiah by Arnold Fruchtenbaum pages 364-367
The Judgment of the Gentiles
Thought a great many Gentiles will be killed through the course of the Tribulation, and Gentile armies will suffer slaughter in the campaign of Armageddon, a number will still be living. All these will now be gathered together for a judgment described in two passages of Scripture. The first passage is in Joel 3:1-3:
For behold, in those days and at that time, When I restore the fortunes of Judah and Jerusalem, I will gather all the nations And bring them down to the valley of Jehoshaphat. Then I will enter into judgment with them there
On behalf of My people and My inheritance, Israel, Whom they have scattered among the nations; And they have divided up My land. “They have also cast lots for My people, Traded a boy for a harlot And sold a girl for wine that they may drink.
The timing of this judgment is given as being in conjunction with the final restoration of Israel (v. 1). All the Gentiles will be gathered into the Valley of Jehoshaphat for the judgment (v. 2a). The very place where the Campaign of Armageddon will end is the same place where the Gentiles will be judged. A judgment of this nature, resulting in a destiny of eternal life or eternal Hell, cannot taken as a national judgment, but is an individual one. The word translated nations also means Gentiles, and this is the way it should be translated. The basis for this judgment will be anti-Semitism or pro-Semitism (v.2b-3). All these Gentiles will be judged on the basis of their treatment of the Jews during the Great Tribulation. The sins committed against Israel listed in this indictment are: first, scattering the Jews (in the middle of the Tribulation); second, parting the land (Campaign of Armageddon); and third, selling the Jews into slavery (Zech 14:1-2). Each Gentile living at that time will be judged on the basis of his participation in or his refusal to participate in these deeds.
The results of this judgment are given in the second passage in Matthew 25:31-46. The judge, the judgment, and those judged are identified in 25:31-33:
“But when the Son of Man comes in His glory, and all the angels with Him, then He will sit on His glorious throne. All the nations will be gathered before Him; and He will separate them from one another, as the shepherd separates the sheep from the goats; and He will put the sheep on His right, and the goats on the left.
The judge (v. 31) will be none other than the Messiah, who will sit on a throne encompassed by His glory in the Valley of Jehoshaphat. All the Gentiles still living will be gathered before Him for the judgment (v. 32). The Greek word translated nations is also the common word for Gentiles. The latter is the way it should be taken, for this is an individual judgment on the basis of anti-Semitism or pro-Semitism. In this judgment, all the Gentiles will be divided into two camps: the pro-Semitic sheep camp or the anti-Semitic goat camp (v.33) Matthew 25:34-40 concerns the pro-Semitic sheep:
“Then the King will say to those on His right, ‘Come, you who are blessed of My Father, inherit the kingdom prepared for you from the foundation of the world. For I was hungry, and you gave Me something to eat; I was thirsty, and you gave Me something to drink; I was a stranger, and you invited Me in; naked, and you clothed Me; I was sick, and you visited Me; I was in prison, and you came to Me.’ Then the righteous will answer Him, ‘Lord, when did we see You hungry, and feed You, or thirsty, and give You something to drink? And when did we see You a stranger, and invite You in, or naked, and clothe You? When did we see You sick, or in prison, and come to You?’ The King will answer and say to them, ‘Truly I say to you, to the extent that you did it to one of these brothers of Mine, even the least of them, you did it to Me.’
The pro-Semites are those who will provide help for Jesus’ brethren, the Jews, during the Great Tribulation, a time when it will be very dangerous to do so. The Jews who will have to flee into the wilderness without anything with them will often be provided with food, clothing and shelter by the sheep Gentiles. They will identify themselves with the Jews by visiting the Jews in prison and will perform other acts of kindness to the Jews. Because of these acts, they will be allowed to enter the Messianic Kingdom (v. 34). It is the sheep Gentiles who will be involved in the destruction of Babylon (Isaiah 13:1-5). They will attain the 1,335th day and will be the ones who will populate Gentile nations in the Messianic Kingdom.
As for the anti-Semitic goat Gentiles, Matthew 25:41-45 states:
“Then He will also say to those on His left, ‘Depart from Me, accursed ones, into the eternal fire which has been prepared for the devil and his angels; for I was hungry, and you gave Me nothing to eat; I was thirsty, and you gave Me nothing to drink; I was a stranger, and you did not invite Me in; naked, and you did not clothe Me; sick, and in prison, and you did not visit Me.’ Then they themselves also will answer, ‘Lord, when did we see You hungry, or thirsty, or a stranger, or naked, or sick, or in prison, and did not take care of You?’ Then He will answer them, ‘Truly I say to you, to the extent that you did not do it to one of the least of these, you did not do it to Me.’
The anti-Semites, who will aid the antichrist in the program of Jewish destruction, will be killed and sent to Hell (v. 41). They are the ones who will fail to attain the 1,335th day and, consequently lose out on the millennial blessing.
The basis of the judgment will not be salvation or lack of it, but anti-Semitism or pro-Semitism. The fact stirs up a question when compared with Matthew 25:46:
These will go away into eternal punishment, but the righteous into eternal life.”
The goats will be sent to Hell, whereas the sheep will not only enter the Kingdom (v.34), but they will also inherit eternal life. Is their salvation, then based on their works, be they ant-Semitic or pro-Semitic? Not at all. The Scriptures make it quite clear that salvation is always by grace through faith totally apart from works. During the Tribulation, the Jews will become the dividing line for those who are believers and for those who are not. Only believers will dare to violate the rules of the antichrist and aid the Jews. Their pro-Semitic acts will be the result of their saved state. As James would say it, they will show their faith by their works. But the unbelievers will demonstrate their unbelief by their anti-Semitic acts. The judgment of the Gentiles, then, will determine who among the Gentiles will be allowed to enter the Messianic Kingdom. Only believing Gentiles will be allowed, and the evidence of their faith will be their pro-Semitic works.