by the sanctuary
24:26 by the sanctuary. This phrase suggests that the tabernacle had been temporarily moved from Shiloh to Shechem (a distance of about eight miles) for just this special occasion. This was also intimated in Joshua 24:1, where all the leaders of Israel had “presented themselves before God.”
24:29 after these things. The last five verses of Joshua were obviously written by an unknown scribe living after “all the days of the elders that overlived Joshua” (Joshua 24:31). This in no way brings into question the divine inspiration of the writings themselves.