After talking about the plan and the promise, how is it even possible to be defeated in the Promised Land? God has said Joshua 1:3 “I will give you every place where you set your foot, as I promised Moses. 4 Your territory will extend from the desert to Lebanon, and from the great river, the Euphrates—all the Hittite country—to the Mediterranean Sea in the west. 5 No one will be able to stand against you all the days of your life. As I was with Moses, so I will be with you; I will never leave you nor forsake you. 6 Be strong and courageous, because you will lead these people to inherit the land I swore to their ancestors to give them.” They crossed the Jordon and were about to attack Jericho. Joshua 6:1 “Now the gates of Jericho were securely barred because of the Israelites. No one went out and no one came in. 2 Then the Lord said to Joshua, “See, I have delivered Jericho into your hands, along with its king and its fighting men. 3 March around the city once with all the armed men. Do this for six days. 4 Have seven priests carry trumpets of rams’ horns in front of the ark. On the seventh day, march around the city seven times, with the priests blowing the trumpets. 5 When you hear them sound a long blast on the trumpets, have the whole army give a loud shout; then the wall of the city will collapse and the army will go up, everyone straight in.” They then did what the Lord had said and Joshua 6:5 “On the seventh day, they got up at daybreak and marched around the city seven times in the same manner, except that on that day they circled the city seven times. 16 The seventh time around, when the priests sounded the trumpet blast, Joshua commanded the army, “Shout! For the Lord has given you the city! 17 The city and all that is in it are to be devoted to the Lord. Only Rahab the prostitute and all who are with her in her house shall be spared, because she hid the spies we sent. 18 But keep away from the devoted things, so that you will not bring about your own destruction by taking any of them. Otherwise you will make the camp of Israel liable to destruction and bring trouble on it. 19 All the silver and gold and the articles of bronze and iron are sacred to the Lord and must go into his treasury.”
                It really was a simple command. You would have thought that when the walls came down you would say; I really should obey this powerful God. “21 They devoted the city to the Lord and destroyed with the sword every living thing in it—men and women, young and old, cattle, sheep and donkeys.” Victory was theirs or so they thought. Everything went as the Lord said it would, only Rahab and her family was saved. “25 But Joshua spared Rahab the prostitute, with her family and all who belonged to her, because she hid the men Joshua had sent as spies to Jericho—and she lives among the Israelites to this day.” What a story of faith, so much so she ended up in the faith hall of fame. Hebrews 11:31 “By faith the prostitute Rahab, because she welcomed the spies, was not killed with those who were disobedient.” She said to the spies, Joshua 2:9 “I know that the Lord has given you this land and that a great fear of you has fallen on us, so that all who live in this country are melting in fear because of you. 10 We have heard how the Lord dried up the water of the Red Sea for you when you came out of Egypt, and what you did to Sihon and Og, the two kings of the Amorites east of the Jordan, whom you completely destroyed. 11 When we heard of it, our hearts melted in fear and everyone’s courage failed because of you, for the Lord your God is God in heaven above and on the earth below. 12 “Now then, please swear to me by the Lord that you will show kindness to my family, because I have shown kindness to you. Give me a sure sign 13 that you will spare the lives of my father and mother, my brothers and sisters, and all who belong to them—and that you will save us from death. 14 “Our lives for your lives!” the men assured her. “If you don’t tell what we are doing, we will treat you kindly and faithfully when the Lord gives us the land.” So she and her family survived.
                So we move on towards another victory at Ai.  Joshua sent men to spy out the city. Joshua 7:3 “When they returned to Joshua, they said, “Not all the army will have to go up against Ai. Send two or three thousand men to take it and do not weary the whole army, for only a few people live there.” 4 So about three thousand went up; but they were routed by the men of Ai, 5 who killed about thirty-six of them. They chased the Israelites from the city gate as far as the stone quarries and struck them down on the slopes. At this the hearts of the people melted in fear and became like water.” Obviously Joshua was confused as he approached God. He tore his clothes and fell facedown. God has already warned them when they took Jericho. Joshua 7:10 “The Lord said to Joshua, “Stand up! What are you doing down on your face? 11 Israel has sinned; they have violated my covenant, which I commanded them to keep. They have taken some of the devoted things; they have stolen, they have lied, they have put them with their own possessions. 12 That is why the Israelites cannot stand against their enemies; they turn their backs and run because they have been made liable to destruction. I will not be with you anymore unless you destroy whatever among you is devoted to destruction. 13 “Go, consecrate the people. Tell them, ‘Consecrate yourselves in preparation for tomorrow; for this is what the Lord, the God of Israel, says: There are devoted things among you, Israel. You cannot stand against your enemies until you remove them.”
                So here is the amazing story about belief and unbelief. The prostitute Rahab had more faith than a man named Achan an Israelite from the tribe of Judah. God then gave instructions on what to do. Joshua 7:14 “In the morning, present yourselves tribe by tribe. The tribe the Lord chooses shall come forward clan by clan; the clan the Lord chooses shall come forward family by family; and the family the Lord chooses shall come forward man by man. 15 Whoever is caught with the devoted things shall be destroyed by fire, along with all that belongs to him. He has violated the covenant of the Lord and has done an outrageous thing in Israel!” 9 Then Joshua said to Achan, “My son, give glory to the Lord, the God of Israel, and honor him. Tell me what you have done; do not hide it from me. 20 Achan replied, “It is true! I have sinned against the Lord, the God of Israel. This is what I have done: 21 When I saw in the plunder a beautiful robe from Babylonia, two hundred shekels of silver and a bar of gold weighing fifty shekels, I coveted them and took them. They are hidden in the ground inside my tent, with the silver underneath.” Then all of his household are destroyed. Then all Israel stoned him, and after they had stoned the rest, they burned them. 26 Over Achan they heaped up a large pile of rocks, which remains to this day. Then the Lord turned from his fierce anger. Therefore that place has been called the Valley of Achor ever since.” So we see a new family become a faith story and a family of Israel become a story of disobedience. God is looking for us to be faithful and it does not matter who you are or where you come from or what your place is in this life. 2 Chronicles 16:9 “For the eyes of the Lord range throughout the earth to strengthen those whose hearts are fully committed to him.”
                So here they are getting trounced in the Promise Land because they were disobedient. Today the church thinks because Jesus came all is well and because He sent His Spirit we have all we need. What does it matter if we sin? Many teach that we can’t stop sinning. That is true if you serve a powerless human god but not true under the power of the Holy Spirit. Paul says after a discourse on not doing what he aught to do, Romans 7:24 “What a wretched man I am! Who will rescue me from this body that is subject to death? 25 Thanks be to God, who delivers me through Jesus Christ our Lord!” 8 Therefore, there is now no condemnation for those who are in Christ Jesus, 2 because through Christ Jesus the law of the Spirit who gives life has set you free from the law of sin and death14 For those who are led by the Spirit of God are the children of God.” Jesus came to set us free not leave us in captivity to sin. He has also commanded us to teach obedience and obey. Moses told the people in Numbers 14:41 “Why are you disobeying the Lord’s command? This will not succeed! 42 Do not go up, because the Lord is not with you. You will be defeated by your enemies, 43 for the Amalekites and the Canaanites will face you there. Because you have turned away from the Lord, he will not be with you and you will fall by the sword.” The presumption of victory in the midst of sin will lead to defeat every time. Scripture makes it clear over and over again that disobedience always leads to defeat.
                God said to Joshua “That is why the Israelites cannot stand against their enemies; they turn their backs and run because they have been made liable to destruction. I will not be with you anymore unless you destroy whatever among you is devoted to destruction. There are devoted things among you, Israel. You cannot stand against your enemies until you remove them.” Isaiah 57:13 “When you cry out for help, let your collection of idols save you! The wind will carry all of them off, a mere breath will blow them away. But whoever takes refuge in me will inherit the land and possess my holy mountain.”
                 We too have been made liable to destruction because our fathers have handed down an empty way of life for generations. The church is not what it should be and is void of the power of the Holy Spirit. Even though Jesus came and sent His Holy Spirit to cloth us with power, just like Joshua found out, sin still leads to defeat. Hebrews 10:26 “If we deliberately keep on sinning after we have received the knowledge of the truth, no sacrifice for sins is left, 27 but only a fearful expectation of judgment and of raging fire that will consume the enemies of God. 28 Anyone who rejected the law of Moses died without mercy on the testimony of two or three witnesses. 29 How much more severely do you think someone deserves to be punished who has trampled the Son of God underfoot, who has treated as an unholy thing the blood of the covenant that sanctified them, and who has insulted the Spirit of grace? 30 For we know him who said, “It is mine to avenge; I will repay,” and again, “The Lord will judge his people.” 31 It is a dreadful thing to fall into the hands of the living God.” Is it not an insult to the Holy Spirit to ignore his power, to say God does not do that anymore to cover our own sins because we have been made liable to destruction? Luke 9:23 “Then he said to them all: “Whoever wants to be my disciple must deny themselves and take up their cross daily and follow me. 24 For whoever wants to save their life will lose it, but whoever loses their life for me will save it. 25 What good is it for someone to gain the whole world, and yet lose or forfeit their very self? 26 Whoever is ashamed of me and my words, the Son of Man will be ashamed of them when he comes in his glory and in the glory of the Father and of the holy angels.” Luke 14:26 “If anyone comes to me and does not hate father and mother, wife and children, brothers and sisters—yes, even their own life—such a person cannot be my disciple. 27 And whoever does not carry their cross and follow me cannot be my disciple.”
                How many people who call themselves Christians are not willing to do this and continue to live in sin? How many have not devoted their lives to Him? So just as in the case of Rahab, Matthew 21:31 “Jesus said to them, “Truly I tell you, the tax collectors and the prostitutes are entering the kingdom of God ahead of you. 32 For John came to you to show you the way of righteousness, and you did not believe him, but the tax collectors and the prostitutes did. And even after you saw this, you did not repent and believe him.” Luke 13:22 “Then Jesus went through the towns and villages, teaching as he made his way to Jerusalem. 23 Someone asked him, “Lord, are only a few people going to be saved? He said to them, 24 “Make every effort to enter through the narrow door, because many, I tell you, will try to enter and will not be able to. 25 Once the owner of the house gets up and closes the door, you will stand outside knocking and pleading, ‘Sir, open the door for us. “But he will answer, ‘I don’t know you or where you come from. 26 “Then you will say, ‘We ate and drank with you, and you taught in our streets. 27 “But he will reply, ‘I don’t know you or where you come from. Away from me, all you evildoers! 28 “There will be weeping there, and gnashing of teeth, when you see Abraham, Isaac and Jacob and all the prophets in the kingdom of God, but you yourselves thrown out. 29 People will come from east and west and north and south, and will take their places at the feast in the kingdom of God. 30 Indeed there are those who are last who will be first, and first who will be last.”
                Israel has sinned; they have violated my covenant, which I commanded them to keep. We also have violated the covenant by rewriting it. In order to have victory once again we must remove the devoted things and devote our lives to Jesus Christ in obedience. Which family will yours be; Rahab or Achan?