Source · the work in full

Rashi on the Former Prophets

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

Joshua 23

You have seen how I have alloted to you. By means of the lot for your inheritance.
The remainder of these nations— that remain to be conquered.

And a goad in your sides. They will prowl around you to loot and ransack.
And thorns. This is an expression of camps. Similarly: “And they will come upon you with camps,” like a shield (צִנָה) that surrounds a person on three sides, as it is said, “As a shield, you encompass him with favor,” תַּעְטְרֶנוּ meaning תְּסוֹבְבֶנוּ, surrounding, similar to “And Shaul and his men surrounded David and his men.” עוֹטְרִים meaning סוֹבְבִים, surrounding.

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.