As Joshua prepared the children of Israel to cross through the Jordan river into the promised land, God instructed Joshua that the Levitical Priests should go before the army with the ark on their shoulders. The priests are worshippers, singers and musicians and were the designated carriers of the presence of God.
Joshua also instructed the people to consecrate themselves as the Lord would do wonders among them. (Joshua 3:5) And Joshua told the people that as soon as they saw the ark of the covenant of the Lord being carried by the Priests that they should set out and follow them.
“and as soon as those bearing the ark had come as far as the Jordan, and the feet of the priests bearing the ark were dipped in the brink of the water (now the Jordan overflows all its banks throughout the time of harvest),” The waters coming down from above rose up in a heap very far away and the waters flowing down to the sea was completely cut off; and the people passed over opposite Jericho. (Joshua 3:15-16)
We often see in scripture where the worshippers and singers always went ahead of an army going to battle to give praise and worship to God. Their worship in advance showed their confidence in God to bring victory. Our understanding that the presence of the Lord goes ahead of us to secure victory as our worship and praise situates us within the presence of God.