A glance at Rashi's commentary reveals that Rashi was very aware of the world around him. Some of his comments relate to the world around him in different ways, be it Old French, situations of the time, or anti-Christian polemics. What motivated Rashi to write acomment? For years it was accepted that he wrote exegetical comments in response to a difficulty in the text. Recent scholarship has added that occasionally he comments because there is a very important idea he seeks to convey, even if there is no difficulty in the text. We see how the polemics come to the forefront in his commentary on Mishlei, especially as it relates to the symbolic "foreign woman" in Mishlei. 

Yemei Iyun be-Tanakh