ואמר רמי בר אבא מאי דכתיב עיר קטנה ואנשים וגו' (קהלת ט, יד) עיר קטנה זה הגוף ואנשים בה מעט אלו איברים ובא אליה מלך גדול וסבב אותה זה יצר הרע ובנה עליה מצודים וחרמים אלו עוונות
Ferner sagte R. Ami b. Abba: Es heißt:<i>eine kleine Stadt, und Menschen &c. Eine kleine Stadt</i>, das ist der Körper. <i>Menschen sind wenig darin</i>, das sind die Glieder. <i>Da kam gegen sie ein großer König und umringte sie</i>, das ist der böse Trieb. <i>Und baute um sie Bollwerke und</i> <i>Netze</i>, das sind die Sünden.
Shenei Luchot HaBerit
When the Torah speaks of wars conducted against a city (20,10), this is also an allusion to the war against the most powerful king, the evil urge, the war man is engaged in throughout his life. – כי תצור אל עיר, "When you lay siege to a city, etc." (20,19). This refers to a small city, i.e. the battle against the evil urge which has not yet become a major threat. The various details described in this passage may be viewed as metaphors for the measures to be taken to cleanse oneself spiritually. Rabbi Avraham Saba in his Tzror Hamor, as well as other commentators all underline the allegorical significance of this passage as describing the ongoing struggle with our evil urge.
Shemirat HaLashon
And the eye is the first entrance of the evil inclination, for through it there enters the heart the power of desire and lust against which we were exhorted at Mount Sinai, and as our sages of blessed memory said: "The eye sees, the heart desires and the instruments of action consummate." And, concerning this it was intimated (Eichah 3:51): "My eye scalds my soul more than all the daughters of my city." "my city" alludes to the powers of the body (which is also called guf [body]), as in Nedarim 32b: "'a small city' — this is the guf." The verse intimates that the eye has corrupted his soul more than all the other powers of the body, all of them coming to consummate only what his eyes have begun.