כמעשה ארץ מצרים, וכמעשה ארץ כנען ר׳ יוסי הגלילי אומר אחר ששוקל מעשה ארץ מצרים כמעשה ארץ כנען ומעשה ארץ כנען כמעשה ארץ מצרים למה זכו הכנענים לשבת בארצם ארבעים ושבע שנים שנאמר וחברון שבע שנים נבנתה לפני צוען מצרים אלא בשכר שקברו את אברהם אבינו במערת המכפלה זכו. ונסמכה כאן פרשה זו לפי שהזכיר למעלה ענין השעירים שהיו עסוקים בפסח במצרים. כמעשה ארץ מצרים וכמעשה ארץ כנען, Rabbi Yossi the Galilean, raised the point that seeing the Torah had compared the cultures of Egypt to that of the Canaanites, and that of the Canaanites to that of the Egyptians, why were we commanded to wipe out the Canaanites and to replace them in their former homeland, while the Torah did not command us to destroy the Egyptians and their culture? The Canaanites were granted to live on their land for 47 years longer than it took for G-d to punish the Egyptians as we know that Chevron was founded seven years earlier than its counterpart Tzoan in Egypt? (Compare Numbers 13,22) The answer to his question is that they had the merit of burying Avraham in the cave of Machpelah going for them. (Sifra) Our paragraph was written at this juncture because the satyrs to whom the Egyptians sacrificed and whom the Israelites while there copied, have been mentioned immediately before this paragraph.