Matthew 7:21-23
21 Not every one that saith unto me, Lord, Lord, shall enter into the kingdom of heaven; but he that doeth the will of my Father which is in heaven. 22 Many will say to me in that day, Lord, Lord, have we not prophesied in thy name? and in thy name have cast out devils? and in thy name done many wonderful works? 23 And then will I profess unto them, I never knew you: depart from me, ye that work iniquity.
so, calling jesus lord is not doing the will of the father. prophesying in jesus name is not doing the will of the father. casting out demons in jesus name is not doing the will of the father. doing wonderful works is not doing the will of the father.
so what is the will of the father?
Luke 13:24-30
24 Strive to enter in at the strait gate: for many, I say unto you, will seek to enter in, and shall not be able. 25 When once the master of the house is risen up, and hath shut to the door, and ye begin to stand without, and to knock at the door, saying, Lord, Lord, open unto us; and he shall answer and say unto you, I know you not whence ye are: 26 then shall ye begin to say, We have eaten and drunk in thy presence, and thou hast taught in our streets. 27 But he shall say, I tell you, I know you not whence ye are; depart from me, all ye workers of iniquity. 28 There shall be weeping and gnashing of teeth, when ye shall see Abraham, and Isaac, and Jacob, and all the prophets, in the kingdom of God, and you yourselves thrust out. 29 And they shall come from the east, and from the west, and from the north, and from the south, and shall sit down in the kingdom of God. 30 And, behold, there are last which shall be first, and there are first which shall be last.
Matthew 21:28-32
28 But what think ye? A certain man had two sons; and he came to the first, and said, Son, go work to day in my vineyard. 29 He answered and said, I will not: but afterward he repented, and went. 30 And he came to the second, and said likewise. And he answered and said, I go, sir: and went not. 31 Whether of them twain did the will of his father? They say unto him, The first. Jesus saith unto them, Verily I say unto you, That the publicans and the harlots go into the kingdom of God before you. 32 For John came unto you in the way of righteousness, and ye believed him not: but the publicans and the harlots believed him: and ye, when ye had seen it, repented not afterward, that ye might believe him.
John 6:39
And this is the Father’s will which hath sent me, that of all which he hath given me I should lose nothing, but should raise it up again at the last day.
Revelation 3:5
He that overcometh, the same shall be clothed in white raiment; and I will not blot out his name out of the book of life, but I will confess his name before my Father, and before his angels.