Now the priests who carried the ark remained standing in the middle of the Jordan until everything the LORD had commanded Joshua was done by the people, just as Moses had directed Joshua. The people hurried over,
and as soon as all of them had crossed, the ark of the LORD and the priests came to the other side while the people watched.
The men of Reuben, Gad and the half-tribe of Manasseh crossed over, ready for battle, in front of the Israelites, as Moses had directed them.
References for Joshua 4:12
About forty thousand armed for battle crossed over before the LORD to the plains of Jericho for war.
References for Joshua 4:13