“just as Joshua had spoken.” The emphasis here is that the priests and people did “just as” Joshua had spoken (cp. ESV; RSV; NJB). A major theme in Joshua is Joshua obeying Yahweh, and then the people obeying Joshua (see commentary on Josh. 4:16).
“went forward.” Literally, “crossed over” (see commentary on Josh. 6:7).