“When the people set out from their tents, to cross over the Jordan, the priests bearing the Ark of the Covenant were in front of the people. Now the Jordan overflows all its banks throughout the harvest time. So when those who bore the ark had come to the Jordan, and the feet of the priests bearing the ark were dipped in the edge of the water, the waters flowing from above stood still, rising up in a single heap far off at Adam, the city that is beside Zarethan. While the waters flowing toward the sea of the Arabah, the Dead Sea, were wholly cut off. Then the people crossed over opposite Jericho. While all Israel were crossing over on dry ground, the priests who bore the Ark of the Covenant of Yahweh also stood on dry ground in the middle of the Jordan, until the entire nation finished crossing over the Jordan.”
This is just like Moses at the Red Sea. The priests carrying the Ark of the Covenant stand in the middle of the Jordan River. The river stops flowing until all the Israelites cross over. No one gets wet. Notice that this takes place near a town called Adam and Zarethan, which is near the Jabbok River.