After Israel captured Jericho, Joshua sent soldiers against another city called Ai, and this time they came back fleeing for their lives. About thirty-six Israelites had been killed. Why had the God who gave them Jericho allowed this defeat, and what changed before He sent them back to Ai?
Joshua 7 answers that question by telling us about something hidden in an Israelite’s tent. A man named Achan had taken possessions from Jericho that God had expressly forbidden Israel to keep. To understand how his theft affected a battle elsewhere, let’s go back to the instructions Israel received before Jericho fell.
Jericho and the First Defeat at Ai
Joshua was leading Israel into the land God had promised to give them. Moses had died, and the LORD had commissioned Joshua to lead the people across the Jordan River. Along with His promise to be with Joshua, God told him to keep the Law Moses had given them and to meditate on it so that he would do what it said. Receiving the land did not mean Joshua could decide for himself how Israel should live there (Joshua 1:1-9).
At Jericho, the first city in this account, God instructed Israel to march around the walls once a day for six days and then seven times on the seventh day. When the priests sounded their trumpets and the people shouted, the walls fell and Israel entered the city. They had followed a command that made their dependence on the LORD unmistakable. The victory came as He had promised.
But God had also told them what to do with the city once they entered it. Jericho was devoted to destruction. Rahab, the woman who had hidden Israel’s spies, and those gathered in her house were to be spared. The silver and gold, along with the bronze and iron vessels, were set apart for the LORD’s treasury. These were not possessions the soldiers could carry home as payment for their part in the battle. Joshua warned them beforehand that taking what God had forbidden would bring trouble on Israel’s camp (Joshua 6:17-19).
That warning helps us understand why Joshua 7 begins with Achan’s theft before it describes the battle at Ai. Achan belonged to the tribe of Judah, and he took some of the forbidden things from Jericho. The chapter tells us that the LORD’s anger burned against Israel because of that trespass. We are given that explanation before Joshua learns what has happened.
Joshua sent scouts to Ai, a city near Bethel, and their report made the next battle sound manageable. They thought two or three thousand soldiers would be enough because Ai had relatively few people. There seemed to be no reason to weary the whole army. About three thousand Israelites went up, but the men of Ai drove them back and killed about thirty-six as they fled down the slope. Joshua 7:5 describes the effect on Israel: “the hearts of the people melted and became like water.”
That description recalls what Rahab had said before Jericho fell. She told Israel’s spies that her people had heard what the LORD had done for Israel and that their hearts had melted with fear (Joshua 2:8-11). Now the Israelites themselves were afraid. They had seen a city fall before them, and yet this smaller force had sent them running.
I can understand why someone would look first at the number of soldiers Joshua sent. Perhaps the scouts were too confident, or perhaps Joshua should have approached the decision differently. But those possibilities cannot replace the explanation God gives. He identifies Israel’s violation of His command as the reason they could not stand before their enemies. Sending a larger force while leaving that sin concealed would not have dealt with the problem He named.
Joshua did not yet know about the stolen goods. He tore his clothes, and he and Israel’s elders put dust on their heads and fell before the ark of the LORD until evening. The ark was the sacred covenant chest associated with God’s presence among His people. Joshua brought his distress before God and asked why He had brought them across the Jordan if they were going to be destroyed. He feared that the surrounding nations would hear about the defeat, surround Israel, and wipe them out. Then he asked what God would do for His great name (Joshua 7:6-9).
The LORD’s answer brought Joshua back to something Israel had done. He told him to get up because Israel had sinned. They had taken the forbidden things, stolen and deceived, and placed those things among their own possessions. God would not continue with them in battle while they left that violation unaddressed (Joshua 7:10-12). Joshua was grieving as though God’s promise had failed, but God showed him that His own command had been broken. Before Joshua led another attack, he had to respond to what the LORD had revealed.
Hidden Sin and Covenant Judgment
The first instruction was to sanctify the people, which meant setting them apart in preparation to appear before the LORD. The next morning they would come forward by tribe, then by family and household, until the man who had taken the forbidden things was identified. Joshua followed those instructions. Judah was selected, then the family and household within Judah, until Achan stood before him (Joshua 7:13-18).
Joshua appealed to Achan to give glory to God by confessing what he had done. I find that to be a useful detail because it connects honoring God with telling the truth, even when the truth exposes us. Achan could not honor the LORD while continuing to conceal the very offense God had brought to light. This was not a frightened nation selecting someone convenient to blame. God had directed the process, and Achan now acknowledged the theft.
He described seeing a beautiful Babylonian garment, two hundred shekels of silver, and a wedge of gold weighing fifty shekels. The shekel was a unit of weight. He wanted these valuables, so he took them and buried them in the ground inside his tent, with the silver underneath. Joshua sent messengers to the tent, and they found the objects exactly where Achan said they were. They brought them out and laid them before the LORD (Joshua 7:19-23). What had been hidden beneath one man’s belongings was now exposed before the people.
Pay attention to the order in Achan’s confession. He saw the objects, coveted them, and then took them. Seeing something attractive did not force him to steal it. He allowed his desire for it to overrule a command he had been given, and afterward he buried the goods in his tent to conceal what he had done. James 1:14-15 describes how a person is drawn away by his own desires and how yielding to that desire brings forth sin. Achan’s account lets us see that progression in a particular decision.
If I keep thinking about money I could get dishonestly, I am already entertaining a desire that needs to be confronted. I should not wait until I am working out how to take it without being discovered. The smallness of the amount, or my ability to hide it, would not change whether it belonged to me. Achan had a place to bury the goods, but hiding them did not make taking them right.
Joshua and Israel brought Achan, the stolen objects, his livestock, his tent, his sons and daughters, and all that he had to the Valley of Achor. There the account records his stoning, followed by plural language about stoning and burning. A great heap of stones marked the judgment, and the LORD turned from His anger (Joshua 7:24-26).
The mention of Achan’s sons and daughters raises a difficult question about what happened to his household. The passage is commonly understood to include their deaths in the judgment, though readers differ over how the singular and plural wording describes their part in it. We are not told their ages or given an account of what they knew about the theft. I cannot fill in those missing details by saying they must have helped him, and I also cannot claim to know everything about their conduct. The severity of what is recorded should make us careful about adding an explanation Scripture has not supplied.
What the chapter does make clear is that Achan’s act affected more than Achan. Israel was a nation under God’s covenant, entering the land under His direct command, and this violation brought judgment on the camp. Soldiers went into battle without knowing what was buried in his tent. Their families suffered a loss that Achan’s confession could not undo.
That national covenant setting also matters when we ask how to apply the account. A church has not been commissioned to carry out Joshua’s conquest or to execute offenders and their families. The New Testament gives congregations instructions for addressing sin, and those are the instructions Christians must follow. We cannot take the seriousness of Achan’s judgment as permission to repeat its form.
For example, in 1 Corinthians 5 Paul confronted a church that was tolerating a man’s sexual relationship with his father’s wife. The congregation was proud when it should have been grieved. Paul told them to remove the offender from their fellowship, and he explained why their tolerance affected the whole church: “A little leaven leavens the whole lump.” Leaven causes dough to rise, and a small amount works through the whole batch. In the same way, allowing serious, unrepented sin to remain accepted in a congregation teaches others that such conduct can be tolerated.
Addressing it requires truth and a willingness to act, but it also requires the purpose Paul gives in Galatians 6:1. Those who are spiritual are to restore a person overtaken in sin with gentleness, remembering that they too can be tempted. Admonition and, when necessary, removal from fellowship should seek repentance while protecting others from harm. Concealing wrongdoing does neither. Civil authorities have their own responsibility for public justice, as Romans 13 explains; a church cannot use its internal discipline to replace that responsibility.
At the same time, neither a church leader nor a civil official has God’s knowledge of hidden things. We know why Israel lost this battle because God told Joshua. That does not make every illness, financial loss, or family tragedy evidence that someone has secretly committed a particular sin. Wrongdoing can hurt people who do not yet understand its source, but suffering by itself does not identify the wrongdoing or the offender.
Job’s friends made that mistake. Job had lost his children and possessions, and one of his friends, Eliphaz, eventually accused him of mistreating the poor and turning widows away. Yet the opening of Job describes him as upright and explains that Satan was attacking him. Eliphaz’s accusations were not the explanation God had given (Job 1; 22:1-11). In John 9:1-3, the disciples asked whether a man’s blindness from birth resulted from his sin or his parents’ sin, and Jesus rejected their proposed explanation. Those passages keep me from using Ai to invent a charge against someone who is already suffering. I need to deal with sin that is known, without pretending my suspicion is a revelation from God.
Restoration and the Second Battle
Once the judgment recorded in Joshua 7 had been carried out, the LORD spoke to Joshua about returning to Ai. The command came with reassurance:
Do not be afraid, nor be dismayed; take all the people of war with you, and arise, go up to Ai. See, I have given into your hand the king of Ai, his people, his city, and his land
God had not permanently rejected Israel or withdrawn His promise to give them the land. He told Joshua to take the fighting men and set an ambush behind Ai. He also gave an instruction that differed from the command at Jericho: this time Israel could keep the city’s livestock and spoil, meaning the goods taken in the battle (Joshua 8:2).
Joshua arranged for soldiers to wait out of sight behind the city while he approached with the main force. The soldiers in ambush were to stay ready. When Ai’s defenders came out to fight, Joshua’s force would appear to flee as Israel had fled in the first battle. That would draw the defenders away and give the waiting soldiers an opportunity to enter the city (Joshua 8:3-9).
The king of Ai saw the Israelite force and hurried out to meet it. He did not know about the ambush behind him. Joshua and the men with him acted as though they were being beaten, and Ai’s men pursued them toward the wilderness. As more men joined the pursuit, they left the city open. What looked to the king like a repeat of his earlier victory was taking his defenders away from the place they needed to protect (Joshua 8:10-17).
Then the LORD told Joshua to stretch his spear toward Ai. When he did, the men waiting in ambush rose quickly, ran into the city, and set it on fire. The pursuers looked behind them and saw smoke rising. Meanwhile, the Israelites who had been fleeing turned back to fight them. The soldiers who had taken the city also came out against them, so Ai’s defenders were caught between the two Israelite forces (Joshua 8:18-22).
Israel captured Ai’s king alive. After defeating the people who had come out to fight, the Israelites returned to the city and killed its remaining inhabitants. Joshua 8 gives the total who died that day as twelve thousand men and women, all the people of Ai. Joshua kept his spear extended until the destruction was complete. The city was burned, and its king was hanged on a tree. At sunset Joshua had the body taken down and placed at the entrance of the city gate, where they raised a heap of stones over it (Joshua 8:23-29).
I do not want to turn that account into a cheerful illustration about overcoming an obstacle. People died in the judgment God commanded, and Joshua carried out that particular command as Israel entered the land. Christians have no authority to identify someone who frustrates us as our Ai and then treat Israel’s battle plan as instructions for dealing with that person. The passage tells us what God directed Joshua to do in this conquest.
Within that account, the permission to take the livestock and goods helps us understand Achan’s offense more clearly. Owning possessions taken in battle was not always forbidden to Israel. At Jericho, however, God had expressly withheld them. Achan’s desire did not give him permission to disregard that command. At Ai, the same LORD expressly allowed Israel to keep the spoil, and they took it according to His word.
The second battle therefore shows more than a better military strategy. Israel advanced under God’s direction after the covenant violation had been addressed, and He gave them the victory He promised. They could proceed into the land. But the soldiers killed in the first defeat did not return to their families, and the judgment on Achan had not been reversed. Restoration gave Israel a way forward without making the earlier loss disappear.
The Law Read at Ebal and Gerizim
Joshua 8 continues beyond the capture of Ai to describe Israel gathering at Mount Ebal and Mount Gerizim. These were the mountains Moses had named when he instructed the people to hear the covenant’s blessings and curses after entering the land. Joshua built an altar on Mount Ebal from whole stones that had not been shaped with iron tools, just as Moses had commanded. There they offered burnt offerings and peace offerings to the LORD, and Joshua wrote a copy of the Law on stones (Joshua 8:30-32; Deuteronomy 27).
Half the people stood before Mount Gerizim and half before Mount Ebal. The priests bore the ark of the covenant, and the assembly included Israel’s elders, officers, and judges. Joshua then read the words of the Law, including its blessings and its curses. The nation that had just experienced the consequences of disobedience was hearing again what God had commanded.
I find the placement of that gathering helpful for understanding the victory. God had given Israel the land, but He had not given them independence from Him once they possessed it. At the altar they approached Him through the sacrifices He prescribed. As Joshua read, they heard how He required them to live. Military success was not the whole purpose of bringing them there, and winning at Ai did not free them to set His commands aside.
Joshua 8:35 specifically includes the women, little ones, and foreigners living among Israel in the assembly that heard the reading. This was not information reserved for a few leaders who would decide how much everyone else should hear. The people who would live in the land needed to hear God’s Word themselves. Joshua read all that Moses had commanded, including the warnings as well as the promises.
We are not under Israel’s Mosaic covenant, and a congregation today is not required to reproduce that ceremony. But the need to hear what God has said has not gone away. A church can remember earlier blessings and have capable leaders while still neglecting the Word that should govern its life. Techniques for increasing attendance cannot supply what is missing when people are no longer being taught Scripture.
When Satan tempted Jesus to turn stones into bread after His fast, Jesus answered from Deuteronomy 8:3. Moses had taught Israel through the account of God’s provision in the wilderness that human life depends on every word from the LORD, not merely on bread. Jesus used that truth in His own answer to temptation (Matthew 4:1-4). If I want God’s help while refusing to hear what He has said, I am neglecting the very instruction I need. His Word can correct the plan I brought to Him as well as encourage me to keep going.
Applying Ai and Finding Hope in Christ
For me, one of the most searching parts of this account is how close the defeat at Ai came to the victory at Jericho. A recent experience of God’s help did not make Israel’s disobedience harmless. The same is true when I consider my own conduct. Past service, a respected ministry role, or a family known for faithfulness cannot excuse dishonesty I am practicing now. Knowing how to explain a biblical command does not give me permission to ignore it.
When Scripture exposes something wrong, I need to answer for that wrong instead of listing the good things I have done. Achan could have pointed to the army’s victory at Jericho, but his participation in that victory would not have made the goods in his tent lawful possessions. In my own life, the question is whether I am willing to tell the truth about what God has already made plain.
Joshua also brought genuine grief and fear before the LORD, and then he had to respond to the answer. Prayer was not a substitute for addressing the sin God revealed. If the Spirit uses Scripture to confront me about dishonesty or another wrong, asking God to relieve the consequences cannot take the place of repentance. I need to acknowledge what I did, stop defending it, and repair the harm where that is possible. A wise believer can help me do that through honest correction, prayer, and accountability that reaches the actual behavior.
That dependence on God does not mean I should stop thinking or planning. God did not identify scouting as the cause of the first defeat, and He directed a carefully arranged ambush in the second battle. Proverbs 3:5-6 tells us to trust the LORD and acknowledge Him in all our ways rather than lean on our own understanding. I can make a careful plan while remaining willing to change it when it requires something God forbids. The problem begins when I treat my judgment as sufficient reason to disregard His.
There is also hope in the account’s later connection with Hosea. The Valley of Achor was the place where Achan’s judgment occurred, and its name is associated with trouble. Centuries later, God spoke through the prophet Hosea about Israel’s unfaithfulness. He described the nation as an unfaithful wife who pursued other lovers, giving false gods the credit for provisions He had supplied. His warnings of judgment were followed by a promise to draw Israel back to Himself. In that promise, the LORD said:
I will give her her vineyards from there, and the Valley of Achor as a door of hope
The woman in that picture is Israel. God was promising future restoration to the people who had turned from Him, and He used a place remembered for trouble to speak of hope. Hosea was not announcing that Achan’s sentence had been canceled. He was showing that God’s judgment on His people did not exhaust His mercy toward them. The promise still concerns Israel; applying the encouragement it gives does not require taking that promise away from the nation.
I find hope there because being confronted with sin does not mean repentance is pointless. God is able to restore those who return to Him. Yet forgiveness does not make every earthly consequence disappear. Someone I have deceived may need time to trust me again. Money might be repaid, while years lost to that deception cannot be returned. Accepting those consequences can be part of turning honestly from what I have done.
In Hebrews 12:10, Paul, whom I understand to be the writer of Hebrews, explains that the Father disciplines His children for their good so that they may share in His holiness. That gives a believer reason to receive correction instead of assuming God only wants to rehearse his failures. The purpose is to train us in righteousness. Restored fellowship includes learning to obey with the help God provides, and it can include accepting the practical work of repairing what we have damaged.
But our deepest need cannot be met simply by making a better plan for tomorrow. Sin brings guilt before God, and I cannot remove that guilt by promising that my next decision will be wiser. That is why hope must finally rest in Jesus Christ. He is the eternal Son of God, fully God and fully man, who came among us and lived without sin. He obeyed the Father perfectly and came to save people who could not make themselves clean (John 1:1-14; Hebrews 9:13-15).
On the cross, Jesus willingly gave Himself to be slain as the perfect sacrifice for our sins. Wicked men inflicted His bodily suffering, and He voluntarily shed His blood and died. His saving sacrifice was complete at His death, before His burial. He then rose bodily from the dead on the third day (John 19:28-42; 1 Corinthians 15:3-4). The forgiveness He offers rests on what He accomplished, not on our ability to hide our guilt or compensate for it.
Paul explains in Galatians 3:13 that Christ redeemed us from the curse of the Law by becoming a curse for us, and he cites the words, “Cursed is everyone who hangs on a tree.” The Law exposes the condemnation that belongs to the sinner. Jesus willingly endured the shameful death of the cross to redeem us from that condemnation. I do not understand Paul’s words to mean that Jesus became morally corrupt or that the Father turned against His Son.
The Father did not punish, curse, abandon, strike, bruise, or pour wrath upon Jesus. Father, Son, and Holy Spirit were united in the work of saving sinners. Christ offered Himself without spot to God through the eternal Spirit, as Hebrews 9:14 explains. Nor do I identify the innocent Savior with the stolen objects Achan hid. Jesus had committed no trespass. He willingly gave Himself as the sacrifice through whom guilty people can be forgiven.
That provision is for the whole world, as 1 John 2:2 says, and God’s offer of salvation is sincere toward every person. His grace can be resisted, but everyone who repents and believes in Christ receives forgiveness and new life. The Holy Spirit indwells and permanently seals the believer, guaranteeing the inheritance God has promised (Ephesians 1:13-14). Obedience grows from that new life. It does not purchase forgiveness or keep a believer saved.
Because my hope rests in Christ, I have a reason to leave concealment behind. I can admit the truth without pretending that my record is what makes me acceptable to God. His mercy does not make sin harmless; it gives me a reason to turn from it and seek His help to live differently. The Savior who cleanses us also teaches us to walk in the obedience for which we were created in Him (Ephesians 2:8-10).
Related Studies
For a closer examination of Achan’s confession and the judgment that followed, see The Sin of Achan. That study also considers what the account does and does not tell us about his household.
Mount Ebal and Mount Gerizim explains why Israel gathered at those mountains to hear the Law and how the altar, blessings, and curses belonged to their covenant with God.
Repentance looks at what it means to acknowledge sin and turn toward God, including the difference between wanting relief from consequences and responding to His correction.
The Law explains how God’s commands expose sin and why our hope of being made right with Him rests in Christ.
My Final Thoughts
Israel returned to Ai only after facing the sin God had exposed. The second victory showed that He had not abandoned His promise, but it did not erase the deaths and judgment that had already occurred. I come away from that account with a clearer reason to take God’s correction seriously. What I conceal can hurt others, and yesterday’s obedience cannot excuse what I know is wrong today.
That does not give me a reason to accuse every suffering person of a hidden offense or to repeat Israel’s covenant punishments in the church. God told Joshua why Israel had fallen. My responsibility is to respond honestly to what Scripture makes known and to help others do the same with truth and gentleness.
When I have sinned, hiding it only keeps me defending what I need to forsake. Christ has provided the cleansing I cannot give myself, so I can turn to Him, tell the truth, and begin doing what is right. Some consequences may remain, and repairing the harm may take time. I can undertake that work in gratitude for His mercy, trusting the Savior who forgives and keeps those who belong to Him.
