I have had many cyber conversations with Christian Universalists that believe that everyone will go to heaven because Christ saved everyone on the cross. Verses like these seem to fly in the face of that kind of thinking. Yet I do not want to look at these verses from that angle.
These verses tell us that you can be religious and not being doing God's will. Many people do all sorts of religious things like preaching (or prophesying), counseling and doing miracles but are not doing God's will. It is interesting how Jesus transitions from doing to knowing. It is like He is telling us that the issue is not doing religious things but knowing God and Him knowing us. And Jesus brings these ideas of work and knowing together in the sixth chapter of John when he says:
“This is the work of God, that you believe in him whom he has sent.”I know many who do not know you Lord. Help them to know you.