Joshua 6:5

And when there is a long blast of the ram’s horn and you hear its sound, have all the people give a mighty shout. Then the wall of the city will collapse and all your people will charge straight into the city.”

Note Or fall under itself or fall flat; similarly in verse 20

Note Literally and the people will go up, every man straight ahead; similarly in verse 20

BSB · Berean Standard Bible
And it shall come to pass, that when they make a long blast with the ram’s horn, and when ye hear the sound of the trumpet, all the people shall shout with a great shout; and the wall of the city shall fall down flat, and the people shall ascend up every man straight before him.

Note flat: Heb. under it

KJV · King James Version
It shall be that when they make a long blast with the ram’s horn, and when you hear the sound of the trumpet, all the people shall shout with a great shout; then the city wall will fall down flat, and the people shall go up, every man straight in front of him.”
WEB · World English Bible
And it shall be, that, when they make a long blast with the ram’s horn, and when ye hear the sound of the trumpet, all the people shall shout with a great shout; and the wall of the city shall fall down flat, and the people shall go up every man straight before him.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

make a long
Joshua 6:16, 20; Exodus 19:19; 2 Chronicles 20:21, 22
the people
Judges 7:20–22; 1 Samuel 4:5; 1 Samuel 17:20, 52; 2 Chronicles 13:14, 15; Jeremiah 50:15
and the wall
The words {wenaphelah chomath hair tachteyha,} are literally, "and the wall of the city shall fall down under itself;" which appears simply to mean, that the wall shall fall down from its very foundation; which was probably the case in every part, though large breaches in different places might have been amply sufficient first to admit the armed men, after whom the host might enter to destroy the city. There is no ground for the supposition that the walls sunk into the earth.
Isaiah 25:12; Isaiah 30:25; 2 Corinthians 10:4, 5; Hebrews 11:30