Doing the Will of the Father: Matthew 7:21-23 Explained

Short answer: In Matthew 7:21-23 Jesus says that entering the Kingdom of Heaven is not secured by verbal acknowledgment of his lordship but by doing the will of his Father in heaven. The passage does not teach that salvation is earned by good deeds; it teaches that true faith produces obedience, and that religious speech and even impressive works can exist without a transformed life. Jesus is not rejecting confession of his lordship but exposing a confession that never reaches the will. The will of the Father, as the rest of Scripture defines it, is that we believe in the one he sent and live in the obedience that flows from that belief.

What Matthew 7:21 Actually Says

The verse is the climax of the Sermon on the Mount. Jesus has been describing the narrow gate, the wide road, and the fruit that reveals the tree. Then he says, Not everyone who says to me, Lord, Lord, will enter into the Kingdom of Heaven; but he who does the will of my Father who is in heaven. The address is not a casual greeting. Calling Jesus Lord is a genuine confession of his authority. The problem is not that these people said too little; it is that their lives did not match their words. Jesus is not setting aside orthodoxy for activism. He is saying that the will of the Father is the door, and words alone do not walk through it.

The Greek word for Lord, kyrios, is the same word used for the master of a household and for God himself. When Jesus places Lord, Lord on the lips of those who will not enter, he is not mocking sincere confession. He is warning that repetition and volume are not evidence of submission. Two people can say the same words: one trusting in the words as a password, the other speaking out of a life that has actually been handed over. The verse does not ask whether we have said the right thing about Jesus. It asks whether we are doing the will of his Father. That question is meant to search us, not to make us despair.

Notice that Jesus does not contrast those who say Lord with those who say nothing. He contrasts them with those who do the will of my Father. The contrast is between speech and obedience, between profession and practice. In the Sermon on the Mount, Jesus has already spoken about prayer, fasting, money, lust, anger, and love for enemies. Each of those sections assumes that a disciple's life is actually being reshaped. So when he reaches Matthew 7:21, he is not introducing a new requirement. He is applying everything he has just taught. The will of the Father is not hidden or mysterious; much of it has been spelled out in the preceding chapters.

This verse should also be read with the verses that follow. In Matthew 7:22-23, Jesus describes people who prophesied, cast out demons, and did many mighty works in his name. Their résumé is impressive. Yet he says he never knew them. That phrase, I never knew you, is relational, not merely judicial. The issue is not a lack of religious activity but a lack of genuine relationship. They used his name without belonging to him. The passage is a warning to anyone who assumes that ministry success or spiritual gifts can substitute for a life surrendered to the Father's will.

The Will of the Father Is Not Hidden

Some read Matthew 7:21 and immediately ask what the will of the Father is, as if it were a secret code. Jesus does not leave us guessing. Earlier in the same Gospel he teaches his disciples to pray, Your Kingdom come. Your will be done, on earth as it is in heaven. The will of God is what he desires to be done, and Jesus teaches us to ask for it to be done in us. The rest of Scripture fills in the content. It includes trusting the one God sent, loving God with all the heart, loving neighbor as oneself, and walking in the moral shape of the Sermon on the Mount. The will of the Father is not a puzzle; it is a direction.

John's Gospel makes this explicit. In John 6:38-40 Jesus says, For I have come down from heaven, not to do my own will, but the will of him who sent me. He then defines that will: that of all he has given me I should lose nothing, and that everyone who sees the Son and believes in him should have eternal life. So the will of the Father includes believing in Jesus. That is crucial, because it means doing the will of the Father is not opposed to faith. Faith is the first act of obedience. The person who trusts Christ is already doing what the Father desires. Obedience then flows from that trust rather than replacing it.

This also guards against a moralism that treats Matthew 7:21 as a call to pull ourselves up by our own effort. If the will of the Father is that we believe in the one he sent, then the very first thing we do is receive, not achieve. We come to the Father through the Son. Everything else grows from that root. A branch does not produce fruit in order to become attached to the vine; it produces fruit because it is attached. So the question is not whether we can generate enough obedience to earn entrance. It is whether we have actually come to Christ, and whether that coming is real enough to change how we live.

Still, we must not swing to the opposite error and treat obedience as optional. The same Jesus who says the will of the Father is that we believe also says that not everyone who says Lord will enter. Belief and obedience are not competitors. The faith that saves is the faith that works. James 1:22 says, But be doers of the word, and not only hearers, deluding your own selves. That is the same concern Jesus has in Matthew 7. Hearing without doing is self-deception. The will of the Father is not merely known; it is done.

Jesus Redefines Family Around Obedience

In Matthew 12:46-50, while Jesus is speaking to the crowds, his mother and brothers stand outside, wanting to speak with him. Someone tells him, and he responds by stretching out his hand toward his disciples and saying, Behold, my mother and my brothers! For whoever does the will of my Father who is in heaven, he is my brother, and sister, and mother. This is a striking moment. Jesus is not dishonoring his family. He is redefining the closest human bond around a shared commitment to the Father's will. The people who do the will of God are his true family.

This passage connects directly to Matthew 7:21. In both places, the will of my Father who is in heaven is the identifying mark. In Matthew 7, it distinguishes those who enter the Kingdom from those who only call Jesus Lord. In Matthew 12, it distinguishes those who are Jesus' true relatives from those who are merely near him by proximity or blood. Being near Jesus is not the same as belonging to him. The crowds were near him. His mother and brothers were near him. But the family of God is made up of those who do the Father's will. That is a sobering and hopeful truth at the same time.

It is sobering because it means that religious proximity is not enough. You can grow up in a Christian home, sit under sound teaching, and know all the language. You can be near Jesus and still not be his. Jesus does not say that those who have heard the most or been closest to the community will automatically be included. He says whoever does the will of my Father. That is an individual call. No family name, no church membership, no inherited tradition can answer it for you. Each person must come to the Father through the Son and live in that relationship.

It is hopeful because it means that anyone can belong. The family of God is not limited by bloodline or geography. Whoever does the will of the Father is Jesus' brother, sister, and mother. That is an open invitation. It does not lower the standard; it widens the door. The will of the Father is that we believe in the Son, and everyone who does so is welcomed into the household. Matthew 12 shows us that obedience is not a cold requirement but the family likeness. Those who do the Father's will are being shaped into the image of the Son, and that is what makes them family.

The Danger of Empty Confession

Matthew 7:22-23 is one of the most searching passages in the Gospels. Jesus says that many will say to him in that day, Lord, Lord, did we not prophesy in your name, and in your name cast out demons, and in your name do many mighty works? Then he will say to them, I never knew you. Depart from me, you who work iniquity. The tragedy is not that these people did nothing. They did a great deal. They prophesied, they cast out demons, they performed miracles. And yet Jesus calls them workers of iniquity. Their activity was real, but their lives were not aligned with the Father's will.

This should make us examine the difference between gifts and character. A person can have genuine spiritual gifts and still be unknown to Christ. The Corinthians had gifts in abundance, yet Paul had to correct them sharply about love, holiness, and the resurrection. Gifts are not the same as fruit. The fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, gentleness, and self-control. Those are the marks of a life being conformed to the will of God. A ministry can be successful by human measures and still be empty at the core. Matthew 7:22-23 does not say that ministry is bad. It says that ministry is not a substitute for knowing Christ.

The phrase I never knew you is important. It is not I once knew you and now I do not. It is never. There was no genuine relationship. That means the people in view were not believers who lost their salvation. They were people who never had it, despite all their religious activity. They used the language of intimacy, Lord, Lord, but they did not have the reality. This is a warning to anyone who assumes that correct words, public ministry, or spiritual experiences can stand in for a living relationship with Jesus. The question is not whether we have done great things for God, but whether God knows us and we know him.

At the same time, we must be careful not to turn this into a tool for doubting every good work. Jesus is not saying that anyone who prophesies or casts out demons is lost. He is saying that those things, by themselves, do not prove anything. The person who truly knows Christ will also bear fruit, and that fruit will include obedience. The point is not to make us paranoid about every act of service. The point is to make us honest. Are we trusting in our record, or are we resting in Christ and seeking to do the Father's will out of love for him? That is the question Matthew 7 forces on us.

Doers of the Word, Not Hearers Only

James takes up the same theme with a memorable image. He says in James 1:22, But be doers of the word, and not only hearers, deluding your own selves. Then he compares the person who hears and does not act to someone who looks in a mirror, sees his natural face, and immediately forgets what he looks like. The word of God is meant to be applied. Hearing it and nodding along is not enough. James is not contradicting Paul's teaching on grace. He is insisting that grace produces action. The faith that saves is never a passive faith. It listens, and then it obeys.

James goes on to describe the one who looks into the perfect law of freedom and continues in it as blessed in what he does. The law of freedom is not a burden; it is the shape of life in Christ. Jesus said that his yoke is easy and his burden is light. The will of the Father is not a crushing weight. It is the path of life. When we do it, we are not earning our place; we are walking in the place we have been given. James 1:22 is a call to align our practice with our profession. That is exactly what Matthew 7:21 is about.

Paul says something similar in Romans 2:13: For it isn't the hearers of the law who are righteous before God, but the doers of the law will be justified. Paul is not teaching salvation by works. In the same letter he insists that no one will be justified by works of the law. His point in Romans 2 is that hearing the law without doing it does not make a person right with God. The Jewish people had the law and boasted in it, but their lives did not match. Paul is exposing the same gap Jesus exposes: the gap between knowing and doing. The gospel does not close that gap by lowering the standard. It closes it by changing the heart.

So the biblical call is consistent from the Sermon on the Mount to James to Romans. Do not be content with hearing. Do not be content with saying the right words. Do not be content with religious activity that leaves the heart untouched. The will of the Father is to be done. And the good news is that God does not leave us to do it in our own strength. He gives his Spirit, he gives his word, and he gives a family of brothers and sisters to walk with us. The one who does the will of the Father is not a solitary hero. They are a child being formed by a gracious Father.

The Will of the Father and the Love of the World

First John 2:15-17 gives us another angle on the will of the Father. The passage says, Don't love the world or the things that are in the world. If anyone loves the world, the Father's love isn't in him. For all that is in the world, the lust of the flesh, the lust of the eyes, and the pride of life, isn't of the Father, but is of the world. The world is passing away with its lusts, but he who does God's will remains forever. Here again, doing the will of God is set in contrast to a rival loyalty. You cannot love the world and do the Father's will at the same time.

This shows that the will of the Father is not just a list of duties. It is a matter of love and allegiance. The person who does the Father's will is the person whose affections have been reordered. They no longer live for the lust of the flesh, the lust of the eyes, and the pride of life. They live for the Father. That is why Matthew 7:21 is not merely about behavior modification. It is about who you belong to. Jesus says that those who do the will of his Father will enter the Kingdom. That means their lives are oriented toward the Father, not toward the world. The two directions cannot be held at the same time.

John also gives us the promise that the one who does God's will remains forever. The world is passing away, but the will of God endures. When we invest our lives in doing what the Father wants, we are investing in something that cannot be lost. That is a powerful motivation. The applause of the world fades. The approval of the crowd disappears. But the Father's will stands. Jesus himself said that his food was to do the will of him who sent him and to finish his work. If that was true of Jesus, how much more should it be true of those who follow him?

So the call to do the will of the Father is not a joyless legalism. It is the path of lasting joy. It is the way of the one who has been loved by the Father and now loves him in return. It means saying no to the world's passing promises and yes to the Father's enduring purpose. And it means trusting that the one who calls us to do his will also gives us the power to do it. The will of the Father is not a trap; it is a home. Those who do it are the true family of Jesus, and they will remain forever.

How Do We Do the Will of the Father?

The first step is to come to Christ in faith. John 6:40 says that the will of the Father is that everyone who sees the Son and believes in him should have eternal life. So doing the will of the Father begins with trusting Jesus. You cannot obey your way into the Kingdom. You come as a child, receiving what the Father gives. Then, out of that relationship, you begin to walk in obedience. The order matters. If you reverse it and try to obey in order to be accepted, you will either become proud or despair. The gospel says you are accepted in Christ, and now you obey out of gratitude.

The second step is to listen to the word. James says to be doers of the word, not only hearers. You cannot do what you have not heard. So the will of the Father is learned through Scripture. Read it, study it, sit under it, and let it examine you. The Sermon on the Mount is a good place to start. Ask God to show you where your life does not match what Jesus taught. Then respond. The will of the Father is not hidden; it is revealed in his word. And the Spirit uses that word to shape us.

The third step is to practice obedience in the ordinary places. The will of the Father is not only about dramatic moments. It is about how you speak to your family, how you handle money, how you treat your enemies, and how you respond when no one is watching. Jesus said that whoever does the will of his Father is his brother, sister, and mother. That means the family of God is made up of people who are actually living it out. It is not about perfection. It is about direction. When you fail, you repent and keep going. The Father is patient with his children.

Finally, remember that you do not do this alone. The one who does the will of the Father is part of a family. Jesus redefined his family around obedience, and that family is the church. We need each other. We need brothers and sisters to encourage us, correct us, and remind us of the gospel. The will of the Father is done in community. So stay close to the people of God. Let them help you. And keep your eyes on Jesus, who did the will of his Father perfectly on your behalf and now lives to intercede for you.

Biblical fidelity check

Matthew 7:21-23 establishes that verbal confession of Jesus as Lord is not sufficient for entrance into the Kingdom of Heaven. It also establishes that religious activity, even miraculous activity done in Jesus' name, does not prove that a person knows him. The passage does not establish that salvation is earned by good works, nor does it set obedience against faith. It does not teach that a true believer can lose their salvation through a single failure, nor does it teach that anyone who has ever prophesied or served is lost. It teaches that genuine relationship with Christ produces a life that does the will of the Father, and that the absence of such a life reveals that the relationship was never real.

A common misreading is to treat Matthew 7:21 as if Jesus is saying that we must earn our way into heaven by our own efforts. That reading contradicts John 6:40, where the will of the Father is defined as believing in the Son, and it contradicts the rest of the New Testament, which insists that salvation is by grace through faith. Another misreading is to treat it as if obedience does not matter at all, since we are saved by grace. That reading contradicts James 1:22 and Romans 2:13, which both insist that hearing without doing is self-deception. The faithful reading holds both together: we are saved by grace alone, and the grace that saves produces the obedience that does the Father's will. Jesus is not calling us to earn his love but to live in it.

Other passages that speak to Matthew 7:21-23

The theme of doing the will of the Father runs through the whole Bible, and several studies on this site trace it further. For a closer look at how Jesus redefines his family around obedience, see James and John in Scripture: A Scripture-First Bible Study Guide. The question of how people come to hear and respond to the gospel is explored in Romans 10 Bible Study: How Will They Hear?. The relationship between faith and works is treated in James 2:14–26: Faith Without Works Is Dead. And the practical need for wisdom in doing God's will is addressed in What does James 1:5 mean about asking for wisdom?.

Frequently asked questions

Does Matthew 7:21 mean that we are saved by doing good works?

No. The verse says that not everyone who says Lord will enter, but the one who does the will of the Father. John 6:40 defines that will as believing in the Son. So doing the will of the Father begins with faith, not works. Salvation is by grace through faith, not by works, so that no one can boast. But the faith that saves is never alone. It produces obedience. Matthew 7:21 is not teaching that we earn our way in; it is teaching that a genuine relationship with Christ will show itself in how we live.

Can a person prophesy and cast out demons and still be lost?

According to Matthew 7:22-23, yes. Jesus describes people who did many mighty works in his name, yet he says he never knew them. This shows that spiritual gifts and public ministry are not the same as a saving relationship with Christ. A person can have genuine gifts and still be unknown to Jesus. The point is not that gifts are bad, but that they cannot replace knowing him. The evidence of belonging to Christ is not the power of our works but the reality of our relationship with him, which produces a life that does the Father's will.

How can I know that I am doing the will of the Father?

Begin by trusting Jesus as the one God sent, since that is the Father's will according to John 6:40. Then let the word of God examine your life. James tells us to be doers of the word, not only hearers. Look at the Sermon on the Mount and ask where your life needs to change. Practice obedience in ordinary things and in your relationships. When you fail, repent and keep going. You do not need to be perfect, but you do need to be honest. The Spirit will use the word to guide you, and the family of God will help you along the way.

Subscribe for more Scripture-centered studies.

Support Sermon Academy.

Previous
Previous

1 Corinthians 15:56: The Strength of Sin Is the Law

Next
Next

The One Who Was and Is and Is to Come: Revelation 1