John R.w. Stott said this quote

Christ’s fourth indirect claim was to judge the world. This is perhaps the most fantastic of all his statements. Several of his parables imply that he will come back at the end of the world, and that the final day of reckoning will be postponed until his return. He will himself arouse the dead, and all the nations will be gathered before him. He will sit on the throne of his glory, and the judgment will be committed to him by the Father. He will then separate men from one another as a shepherd separates his sheep from his goats. Some will be invited to come and inherit the kingdom prepared for them from the foundation of the world. Others will hear the dreadful words, 'Depart from me, you cursed, into the eternal fire prepared for the devil and his angels.' Not only will Jesus be the judge, but the criterion of judgment will be men’s attitude to him as shown in their treatment of his 'brethren' or their response to his word. Those who have acknowledged him before men he will acknowledge before his Father: those who have denied him, he will deny. Indeed, for a man to be excluded from heaven on the last day, it will be enough for Jesus to say, I never knew you.