Source · the work in full

Rashi on the Former Prophets

CC BY · The Metsudah Tanach series (Metsudah Publications, Lakewood, NJ)
Chapter 10

Joshua 10

Then [Yehoshua] spoke. He said a song [of praise to God] in place of the sun, for he had said “Let the sun stop.” [meaning] that he silenced it from reciting its song. During the time it was silent it stood still without moving [on its Orbit,] for during every moment of its orbital movement it recites a song of praise. The plain meaning of the verse is that the word דוֹם is an expression of waiting as stated, “If they say to us wait,” and similarly, “Wait for Adonoy,”
And the moon in the valley of Ayalon. At that moment the moon stood opposite the valley of Ayalon which is a distance from Givon, for Givon is within the border of Binyomin and Ayalon is within the border of Don.

Is it not written [in the Seifer Ha Yoshor.] This subject is recorded in the Torah, for Yaakov had said to Yosef, regarding the descendents of Ephraim “The fame of his descendants will fill the nations.” When did this occur? On the day the sun stood still for Yehoshua, the entire world was filled with the fame of Yehoshua. The sun stood still half-way in the sky and did not hasten to set for a complete day.

Roll. Roll large stones to the mouth of the cave.

Not one person sharpened. This is an abbreviated verse. No sharp [tongued] person, sharpened his tongue against a single person of Bnei Yisroel.
חָרֶץ indicates the speech of the tongue. Similarly, “A dog will not sharpen its tongue.” Similarly “Then you will utter a sharp word.” You will call, you will cry out a battle shout.

The river valleys. The place where the water of the hills rush down.

From Kadush-barnea to Gaza. This refers to the south side of Eretz Yisroel going from east to west, but he did not conquer the entire boundary, leaving unconquered the area from Gaza to the [Mediterranean] Sea. This is what is stated below, “This is the land that remained [unconquered], the Gazites and the Ashdodites”

You arrive at the cited line; the whole work is yours to read around it. The text is set from the cited public-domain edition.