A Bible Study on The Number 40

By Joshua Andreasen | Founder of Unforsaken

The Bible repeats the number forty in some important places, and it usually shows up in seasons where God is testing, warning, disciplining, or preparing someone for what comes next. We do not need to treat forty like a mystical code, but we should pay attention to the pattern Scripture actually uses. The primary passage is Matthew 4:1-11, where Jesus fasts forty days and faces temptation in the wilderness at the beginning of His public ministry, and that scene makes a lot more sense when you remember the earlier forty moments in the Old Testament.

Jesus in the wilderness

Matthew places this right after Jesus is baptized. The Father’s approval has been made public, and then the Spirit leads Him into a place of pressure. Matthew does not treat that as a contradiction. In the Bible, God’s approval and God’s testing can sit right next to each other.

Led, not lost

Jesus is not wandering around and running into trouble. Matthew says the Spirit led Him into the wilderness for this purpose. That does not make God the source of temptation. Scripture is clear that God does not tempt people to do evil. But God can lead His Son into a real battleground where obedience is proven in the open, in history, with no shortcuts.

Then Jesus was led up by the Spirit into the wilderness to be tempted by the devil. (Matthew 4:1)

That is easy to skim past, but do not miss it. Matthew is telling you Jesus is not merely reacting to spiritual attack. He is walking in step with the Spirit even when the next step is hard.

Forty days and hunger

Matthew is plain about the length of the fast and the result. After forty days, Jesus is hungry. Jesus is fully God and fully man. In His real humanity, His body gets weak. The devil aims at a real human need, not a pretend weakness.

And when He had fasted forty days and forty nights, afterward He was hungry. (Matthew 4:2)

The wilderness is not just a dramatic backdrop. In Scripture it is often the place where human resources run out. You cannot keep up appearances out there. And if you have noticed temptation getting louder when you are tired, hungry, stressed, or isolated, Matthew 4 is not surprised by that.

The devil’s approach

Matthew records three temptations. They are not random. They push toward the same core move: stop trusting the Father and take control on your own terms.

The first temptation targets appetite and need. Eating is not sinful. The pressure is to meet a legitimate need in an illegitimate way, outside the Father’s will. Jesus answers with Scripture from Deuteronomy, showing that life is upheld by what God has said, not only by what the body wants right now.

Now when the tempter came to Him, he said, "If You are the Son of God, command that these stones become bread." But He answered and said, "It is written, "Man shall not live by bread alone, but by every word that proceeds from the mouth of God."' (Matthew 4:3-4)

Here is a quick word note that helps without getting bogged down. The word Matthew uses for tempt is also used for test. It can mean to try someone with the aim of making them fall. That is what the devil is doing. But the same kind of situation can also function as a proving, where what is true is brought out into the open. God is not learning something He did not know. The testing shows the Son’s obedience plainly and publicly.

The second temptation shifts to a religious setting, and the devil uses Scripture. That should sober us. Someone can use Bible words and still be pushing a lie. The devil rips a promise out of its setting and tries to turn it into a permission slip for presumption. Jesus refuses to test God. Faith trusts God and obeys Him. Presumption tries to force God’s hand and then calls it faith.

Then the devil took Him up into the holy city, set Him on the pinnacle of the temple, and said to Him, "If You are the Son of God, throw Yourself down. For it is written: "He shall give His angels charge over you,' and, "In their hands they shall bear you up, Lest you dash your foot against a stone."' Jesus said to him, "It is written again, "You shall not tempt the LORD your God."' (Matthew 4:5-7)

A background detail helps here too. The temple was the center of Israel’s public worship life. The temptation is not only personal. It is also public. The devil is pushing Jesus toward a showy sign that would grab attention and skip the quiet road of obedient service.

The third temptation is about authority and glory. The offer is a shortcut: rule now without suffering later. But God’s plan is not crown first. It is the cross before the crown. Jesus refuses to worship anyone but God, and He again answers with Deuteronomy.

Again, the devil took Him up on an exceedingly high mountain, and showed Him all the kingdoms of the world and their glory. And he said to Him, "All these things I will give You if You will fall down and worship me." Then Jesus said to him, "Away with you, Satan! For it is written, "You shall worship the LORD your God, and Him only you shall serve."' (Matthew 4:8-10)

One small observation in the wording is easy to miss. In the first two temptations, the devil says if you are the Son of God. In the third, he drops that line and goes straight for worship. It is as if the devil realizes he is not going to shake Jesus loose from His identity, so he aims at allegiance instead. Jesus shuts it down.

Matthew ends this scene with the devil leaving and angels ministering to Jesus. God’s help was never absent. It was not always immediate, but it was real. Matthew does not promise quick relief. He shows steady provision so the Son can obey all the way through.

Then the devil left Him, and behold, angels came and ministered to Him. (Matthew 4:11)

Forty in the Bible

When Jesus answers from Deuteronomy, He is not grabbing verses at random. Deuteronomy is Moses preaching to Israel near the end of their wilderness years, calling them to trust God from the heart as they prepare to enter the land. Jesus is standing in the same kind of wilderness pressure and doing what Israel did not do.

Judgment and renewal

The first big forty days and forty nights many people think of is the flood. Genesis treats it as real history. The rain falls for a defined period, and it functions as judgment on real evil, not as a vague symbol floating free from time and place.

And the rain was on the earth forty days and forty nights. (Genesis 7:12)

Genesis also explains why judgment came. God saw widespread wickedness and violence. That keeps us from softening the flood into a moral illustration. It was the Almighty acting in holiness against a world that had gone rotten.

Then the LORD saw that the wickedness of man was great in the earth, and that every intent of the thoughts of his heart was only evil continually. (Genesis 6:5)

But judgment is not the only thing happening. God preserves a remnant through Noah, and Genesis says Noah found grace. Grace is favor that is not earned. Noah’s obedience mattered, but it was the fruit of believing God, not the price tag of rescue.

But Noah found grace in the eyes of the LORD. (Genesis 6:8)

That is one of the more surprising things about this forty pattern. The same length of time can mark an end and a beginning. Forty days of rain closes one chapter of human history and carries a family into the next. God is both judging sin and moving His purpose forward.

Revelation and responsibility

Another major forty is Moses on Sinai. Moses spends forty days and forty nights on the mountain in the context of receiving God’s revealed instructions for Israel. It is not a spiritual thrill ride. It is preparation for covenant life.

So Moses went into the midst of the cloud and went up into the mountain. And Moses was on the mountain forty days and forty nights. (Exodus 24:18)

Exodus 24 sits in a clear flow. God has already redeemed Israel out of Egypt. Then He gives His commands, and the covenant is confirmed with blood. After that, Moses goes up for the extended time. Rescue comes first. Instruction follows. That order keeps us from thinking obedience earns redemption. God saves, then He teaches saved people how to walk with Him.

Another detail in Exodus 24 is worth noticing. The covenant is said to be according to all these words. That is a plain reminder that God does not bind His people to vague impressions. He speaks. His words set the terms, and His people are responsible to listen and obey.

And Moses took the blood, sprinkled it on the people, and said, "This is the blood of the covenant which the LORD has made with you according to all these words." (Exodus 24:8)

If you read on, Israel falls into the golden calf while Moses is still up there. That failure sits right next to God’s revelation. The lesson is not that God’s words are unclear. The lesson is that the human heart drifts fast when it is not walking in humble dependence on the Lord.

Discipline and dependence

Then there is Israel’s forty years in the wilderness in Numbers 14. Israel stands at the edge of the land, hears the spies, and refuses to go in because fear wins over trust. God’s discipline is measured and stated plainly. That generation will wander, and the next generation will live through the consequences.

And your sons shall be shepherds in the wilderness forty years, and bear the brunt of your infidelity, until your carcasses are consumed in the wilderness. (Numbers 14:33)

Numbers also ties the length of the discipline to the forty days the land was searched. God is not arbitrary. He is not losing control of the calendar. The span matches the offense and makes the point that unbelief has real cost.

According to the number of the days in which you spied out the land, forty days, for each day you shall bear your guilt one year, namely forty years, and you shall know My rejection. (Numbers 14:34)

Two things are happening at once in those years. There is real discipline for unbelief, and there is also training for the future. God provides daily food and daily direction, teaching the next generation to depend on Him instead of panicking at circumstances.

Numbers 14 also says something people like to avoid: sin does not stay private. A generation’s unbelief spills into families and shapes years of life for others. That does not erase personal responsibility, but it does warn us not to treat unbelief as a small, personal quirk.

Why Jesus matters most

When you come back to Matthew 4:1-11 with that background, the point is not trivia about forty. Jesus is doing what Israel failed to do. He is the obedient Son in the wilderness, trusting the Father and holding to the Word of God under pressure.

Deuteronomy on purpose

All three of Jesus’ answers come from Deuteronomy. That is not an accident. Deuteronomy looks back on Israel’s wilderness testing and calls them to love God, fear Him rightly, and obey from the heart. Jesus answers temptation from the very book that exposes Israel’s repeated failures in the wilderness. He is showing what true sonship looks like.

Here is a text-rooted detail many people miss on a first pass: Jesus never uses His own independent authority to win the argument. He does not debate. He does not bargain. He answers with what God has said. That fits Matthew’s larger theme that Jesus came to do the Father’s will, not to run His own program.

This is not a magic trick where saying a verse out loud makes temptation vanish. But it does mean you will not spot lies clearly if your mind is not shaped by Scripture. And it also means you cannot use Scripture the way the devil does, ripping it out of context to justify what you already wanted.

Real temptation, real victory

The temptations are real. Jesus is not acting. Hebrews says He was tempted like we are, yet without sin. He understands the pressure from the inside, but He never yielded.

For we do not have a High Priest who cannot sympathize with our weaknesses, but was in all points tempted as we are, yet without sin. (Hebrews 4:15)

Jesus’ victory speaks to your daily fight against sin, but it goes even deeper for the gospel. If Jesus is not sinless, He cannot be the spotless sacrifice for sinners. His obedience is not just inspiring. It is necessary for Him to be a Savior who can truly stand in our place.

When Jesus goes from the wilderness to the cross, we need to speak carefully and biblically. The Trinity was not split. The Father did not stop loving the Son. Jesus, the sinless God-man, suffered and died physically, and by that sacrifice He paid for our sins. The New Testament calls Him the propitiation, meaning the sacrifice that satisfies God’s righteous judgment against sin. And Scripture is clear that His sacrifice is for the whole world.

And He Himself is the propitiation for our sins, and not for ours only but also for the whole world. (1 John 2:2)

Salvation is by grace through faith in Jesus Christ alone. Works are the fruit, not the cause. You do not improve yourself to earn shelter. You come to Christ as you are, trusting Him, and the changed life follows because God truly saves and truly changes people.

Forty and mission

There is another forty connected to Jesus that rounds out the pattern. After His resurrection, Jesus appeared to the disciples over forty days, giving proof and teaching them about the kingdom of God. Those forty days were preparation for mission, not a traveling show.

to whom He also presented Himself alive after His suffering by many infallible proofs, being seen by them during forty days and speaking of the things pertaining to the kingdom of God. (Acts 1:3)

That guards our faith from sliding into a feelings-based thing. The disciples preached because they had seen the risen Christ and had been taught by Him. The resurrection is a real event in history, and it is God’s public declaration that Jesus’ work is finished and accepted.

Since the study has dealt with judgment and rescue, it helps to keep the end of the road straight too. Scripture contrasts eternal life with death. The final lake of fire is real judgment, and the lost are finally destroyed there rather than kept alive forever in conscious torment. Eternal life is God’s gift in His Son.

For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord. (Romans 6:23)

If you are in Christ, you are secure. New birth is not a temporary patch. God makes a person new in Christ, and He does not undo what He creates. That security does not produce laziness. It gives steadiness. When a believer sins, the answer is not trying to pay God back. It is confessing the sin, turning from it, and walking on with the One who saved you.

My Final Thoughts

The repeated forty seasons in Scripture point to real times when God tests, warns, disciplines, cleanses, and prepares. Do not waste those seasons hunting for hidden codes. Stay with what God has said and do the next act of obedience He has made clear.

Keep your eyes on Jesus in Matthew 4:1-11. He stood in the wilderness and did not bend. Then He went to the cross and rose again so sinners can be forgiven by grace through faith. When you are tempted, bring it into the light, hold fast to Scripture, and trust Christ to keep you steady as you take the next clear step.

Other Bible Studies you may like

Please visit and purchase some handmade earrrings from my wife and daughter if you want to support the ministry.

You have questions, we have answers

 

HELP SUPPORT THE MINISTRY:

The Christian's Ultimate Guide to Defending the FaithGet the book that teaches you how to evangelize and disarm doctrines from every single major cult and religion.

 

Subscribe To Our Newsletter

Join our Unforsaken community and receive biblical encouragement, deep Bible studies, ministry updates, exclusive content, and special offers—right to your inbox.

Praise the Lord! You have subscribed!