In the book of Joshua chapter 7, Joshua is ready to go to war against a small nation called A-I. The Israelites just defeated the great city of Jericho. However, this time Israel was defeated. 
 
                                  But the children of Israel committed a trespass In the accused thing : For Achan...Of the tribe of Judah, took of the accursed thing : and the anger of the Lord was kindled against the children of Israel. Joshua 7:1
                               
                                Here is a great lesson for us to learn.We cannot stand against our enemies while we are living in sin.   
   Therefore the children of Israel could not stand before their enemies but turned their backs before there enemies because they were accursed : neither will I be with you anymore, except ye destroy the accursed thing from among you.Joshua 7:12

For the time is come that judgment must begin at the house of God : and if it first begins with us, what shall the end be of them that obey not the gospel of God ? 1 Peter 4:17

                                  Our Lord will be cleaning house, yes your house.This means yourself your family and your church.There s much wickedness in the church today.Achan was given swift punishment.His whole family was taken to a valley and stoned to death, Then there bodies were burnt.Today we do not see such swift punishment,but this does not mean it will not come.