You crossed the Jordan and arrived at Jericho where the men of Jericho fought against you. So did the Amorites, the Perizzites, the Canaanites, the Hittites, the Girgashites, the Hivites, and the Jebusites.
The priests carrying the Ark stood on the dried-up riverbed of the Jordan as all the people went by, staying there until everyone had crossed over on dry ground.