Pseudo-Chrysostom
Catena Aurea · Matthäusevangelium 7
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. 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? And then will I profess unto them, I never knew you: depart from me, ye that work iniquity.
And what the will of God is the Lord Himself teaches, This is, (John 6:40.) He says, the will of him that sent me, that every man that seeth the Son and believeth on him should have eternal life. The word believe has reference both to confession and conduct. He then who does not confess Christ, or does not walk according to His word, shall not enter into the kingdom of heaven.