Nevertheless the solid foundation of God stands, having this seal: “The Lord knows those who are His,” and, “Let everyone who names the name of Christ depart from iniquity.”
Numbers 16:4-5 NKJV
So when Moses heard it, he fell on his face;  and he spoke to Korah and all his company, saying, “Tomorrow morning the LORD will show who is His and who is holy, and will cause him to come near to Him. That one whom He chooses He will cause to come near to Him.
Nahum 1:7 NKJV
The LORD is good, A stronghold in the day of trouble; And He knows those who trust in Him.
John 10:11-14 NKJV
“I am the good shepherd. The good shepherd gives His life for the sheep.  But a hireling, he who is not the shepherd, one who does not own the sheep, sees the wolf coming and leaves the sheep and flees; and the wolf catches the sheep and scatters them.  The hireling flees because he is a hireling and does not care about the sheep.  I am the good shepherd; and I know My sheep, and am known by My own.