Matthew 25:32

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;

Matthew 13:49

So it will be at the end of the age; the angels will come forth and take out the wicked from among the righteous,

Ezekiel 34:17-22

“As for you, My flock, thus says the Lord God, ‘Behold, I will judge between one sheep and another, between the rams and the male goats.

Psalm 50:3-5

May our God come and not keep silence;
Fire devours before Him,
And it is very tempestuous around Him.

Psalm 96:13

Before the Lord, for He is coming,
For He is coming to judge the earth.
He will judge the world in righteousness
And the peoples in His faithfulness.

Psalm 98:9

Before the Lord, for He is coming to judge the earth;
He will judge the world with righteousness
And the peoples with equity.

Malachi 3:18

So you will again distinguish between the righteous and the wicked, between one who serves God and one who does not serve Him.

2 Corinthians 5:10

For we must all appear before the judgment seat of Christ, so that each one may be recompensed for his deeds in the body, according to what he has done, whether good or bad.

Psalm 1:5

Therefore the wicked will not stand in the judgment,
Nor sinners in the assembly of the righteous.

Psalm 78:52

But He led forth His own people like sheep
And guided them in the wilderness like a flock;

Ezekiel 20:38

and I will purge from you the rebels and those who transgress against Me; I will bring them out of the land where they sojourn, but they will not enter the land of Israel. Thus you will know that I am the Lord.

Matthew 3:12

His winnowing fork is in His hand, and He will thoroughly clear His threshing floor; and He will gather His wheat into the barn, but He will burn up the chaff with unquenchable fire.”

Matthew 13:42-43

and will throw them into the furnace of fire; in that place there will be weeping and gnashing of teeth.

John 10:14

I am the good shepherd, and I know My own and My own know Me,

John 10:27

My sheep hear My voice, and I know them, and they follow Me;

Acts 17:30-31

Therefore having overlooked the times of ignorance, God is now declaring to men that all people everywhere should repent,

Romans 2:12

For all who have sinned without the Law will also perish without the Law, and all who have sinned under the Law will be judged by the Law;

Romans 2:16

on the day when, according to my gospel, God will judge the secrets of men through Christ Jesus.

Romans 14:10-12

But you, why do you judge your brother? Or you again, why do you regard your brother with contempt? For we will all stand before the judgment seat of God.

1 Corinthians 4:5

Therefore do not go on passing judgment before the time, but wait until the Lord comes who will both bring to light the things hidden in the darkness and disclose the motives of men’s hearts; and then each man’s praise will come to him from God.

Revelation 20:12-15

And I saw the dead, the great and the small, standing before the throne, and books were opened; and another book was opened, which is the book of life; and the dead were judged from the things which were written in the books, according to their deeds.

Treasury of Scripture Knowledge

Summary

And before him shall be gathered all nations: and he shall separate them one from another, as a shepherd divideth his sheep from the goats:

Bible References

Before

Psalm 96:13
Before the Lord, for He is coming,
For He is coming to judge the earth.
He will judge the world in righteousness
And the peoples in His faithfulness.
Psalm 98:9
Before the Lord, for He is coming to judge the earth;
He will judge the world with righteousness
And the peoples with equity.
Acts 17:30
Therefore having overlooked the times of ignorance, God is now declaring to men that all people everywhere should repent,
Romans 2:12
For all who have sinned without the Law will also perish without the Law, and all who have sinned under the Law will be judged by the Law;
Romans 14:10
But you, why do you judge your brother? Or you again, why do you regard your brother with contempt? For we will all stand before the judgment seat of God.
2 Corinthians 5:10
For we must all appear before the judgment seat of Christ, so that each one may be recompensed for his deeds in the body, according to what he has done, whether good or bad.
Revelation 20:12
And I saw the dead, the great and the small, standing before the throne, and books were opened; and another book was opened, which is the book of life; and the dead were judged from the things which were written in the books, according to their deeds.

He shall separate

Matthew 3:12
His winnowing fork is in His hand, and He will thoroughly clear His threshing floor; and He will gather His wheat into the barn, but He will burn up the chaff with unquenchable fire.”
Matthew 13:42
and will throw them into the furnace of fire; in that place there will be weeping and gnashing of teeth.
Psalm 1:5
Therefore the wicked will not stand in the judgment,
Nor sinners in the assembly of the righteous.
Psalm 50:3
May our God come and not keep silence;
Fire devours before Him,
And it is very tempestuous around Him.
Ezekiel 20:38
and I will purge from you the rebels and those who transgress against Me; I will bring them out of the land where they sojourn, but they will not enter the land of Israel. Thus you will know that I am the Lord.
Ezekiel 34:17
“As for you, My flock, thus says the Lord God, ‘Behold, I will judge between one sheep and another, between the rams and the male goats.
Malachi 3:18
So you will again distinguish between the righteous and the wicked, between one who serves God and one who does not serve Him.
1 Corinthians 4:5
Therefore do not go on passing judgment before the time, but wait until the Lord comes who will both bring to light the things hidden in the darkness and disclose the motives of men’s hearts; and then each man’s praise will come to him from God.

As

Psalm 78:52
But He led forth His own people like sheep
And guided them in the wilderness like a flock;
John 10:14
I am the good shepherd, and I know My own and My own know Me,