Before the walls of Jericho fell, Joshua fell facedown before the Lord. Before our walls (strongholds, addictions, struggles); we also must fall face down before the Lord. The true worship and reverence of God is what melts our walls down.
Before the first major battle for possession of the Promised Land was fought, Joshua had an encounter with a sword-drawn man-God (Jos 5:13). We are not specifically told that this is Jesus; however, he was both a "man" and "holy." Only one person fits that category, Jesus, the commander of the army of the Lord.
With strong parallels with Moses burning bush experience; Joshua is told to remove his sandals for he was standing in holy ground. Astutely, Joshua fell facedown as an act of reverence. Reverent worship enhances our ability to obey God; and it is from this position Joshua asks for orders from God (Jos 5:14).
This narrative is here to guide us towards our own victory over the sins and strongholds that we must conquer in order to live the life that God wants for us. But before we fight, we must fall facedown and practice reverent worship. Reverent worship enables us to walk in obedience, and give credit (glory) to God only. He invites us to fight with Him, we must arm ourselves for battle, but it is His sword that is melting walls before us.