To be courageous in the face of dangers confronting them was not only God's will but also His command. This is equally true with regard to us today.
We are to be courageous in godly living as we seek to live according to the Word of God. All three members of the Trinity are working in our behalf so that all we have to do is by faith accept and appropriate what has been provided.
We may face defeat at times, but we are not to dwell upon our defeat. We are to return to the Lord, confess our wrong-doing, forsake it and go on with Him. We are to forget those things that are behind. There is more land to be possessed.
A negative admonition follows. Joshua said, "That ye come not among these nations, these that remain among you." There were still many pagan people remaining in Canaan, but the Israelites were not to have fellowship with them.
God's people were not to copy the heathen forms of worship but to be completely separated from them. There was to be no coexistence with the enemy.
This is also true in the Christian life. There is to be a putting off of what is evil and a putting on of the armor of God (see Eph. 6:10-17). The Israelites were to cleave to the Lord their God and put off the ways and beliefs of the Canaanites.
"In whom we have boldness and access with confidence by the faith of him" (Eph. 3:12).