God tells Joshua to prepare to cross the Jordan to get to the promised land
Cursed before the LORD be the man who attempts to rebuild this city, Jericho.
Before Joshua left he sent two spies to Jericho where Rahab sheltered them. When the king found he went to see them, but Rahab had hid them.
we will have to return everything
They marched around Jericho seven times for seven days and on the final day the city collapsed
We Won! We Won! We Won!
On that occasion Joshua imposed the oath: Cursed before the LORD be the man who attempts to rebuild this city, Jericho. At the cost of his firstborn will he lay its foundation, and at the cost of his youngest son will he set up its gates
But the people were not faithful they lied and stole and God refused to be with them until they had got rid of the things they had stolen
At first Ai had won, but later when Joshua attacked again they captured Ai