The Midrash (Bereishit Rabba 84) makes the following comment concerning Yehuda’s suggestion to his brothers that they sell Yosef as a slave: “They said: Let us follow the way of the world: Wasn’t Canaan, who sinned, cursed with slavery? This one, too – let us go sell him to the Ishamelites! And his brothers listened.” According to the Midrash, when the brothers considered their options in dealing with Yosef, they looked to the precedent of Canaan, Noach’s grandson, whom Noach had cursed with slavery in response to the crimes he committed against his him.